1
0

fix: lint

This commit is contained in:
Mar0xy
2023-09-22 03:57:24 +02:00
parent 313cbb19db
commit 4a63114ef0
2 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -189,7 +189,7 @@ function calcAge(birthdate: string): number {
const XPhotos = defineAsyncComponent(() => import('./index.photos.vue'));
const XActivity = defineAsyncComponent(() => import('./index.activity.vue'));
const XListenBrainz = defineAsyncComponent(() => import("./index.listenbrainz.vue"));;
const XListenBrainz = defineAsyncComponent(() => import("./index.listenbrainz.vue"));
const props = withDefaults(defineProps<{
user: Misskey.entities.UserDetailed;
@@ -224,7 +224,7 @@ if (props.user.listenbrainz) {
if (data.payload.listens && data.payload.listens.length !== 0) {
listenbrainzdata = true;
}
} catch(err) {
} catch (err) {
listenbrainzdata = false;
}
}