From 4a63114ef0e69feda2f2cfb8ff3d6948cf7c8c23 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Fri, 22 Sep 2023 03:57:24 +0200 Subject: [PATCH] fix: lint --- packages/frontend/src/pages/user/home.vue | 4 ++-- packages/frontend/src/pages/user/index.listenbrainz.vue | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/packages/frontend/src/pages/user/home.vue b/packages/frontend/src/pages/user/home.vue index 6ddc81e1c..aa1c68bdc 100644 --- a/packages/frontend/src/pages/user/home.vue +++ b/packages/frontend/src/pages/user/home.vue @@ -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; } } diff --git a/packages/frontend/src/pages/user/index.listenbrainz.vue b/packages/frontend/src/pages/user/index.listenbrainz.vue index 266ff1403..afc5cd2c2 100644 --- a/packages/frontend/src/pages/user/index.listenbrainz.vue +++ b/packages/frontend/src/pages/user/index.listenbrainz.vue @@ -28,6 +28,7 @@