From a1399ae8b287cd5e9bc8117ffe75b969957d28ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90?= Date: Thu, 1 Dec 2022 23:42:03 +0800 Subject: [PATCH] chore: fix lint --- app.vue | 2 +- tests/content-rich.test.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app.vue b/app.vue index 86852396..6834cd81 100644 --- a/app.vue +++ b/app.vue @@ -3,7 +3,7 @@ setupPageHeader() await setupI18n() // We want to trigger rerendering the page when account changes -const key = computed(() => currentServer.value + ':' + (currentUser.value?.account.id || '')) +const key = computed(() => `${currentServer.value}:${currentUser.value?.account.id || ''}`)