diff --git a/src/main/database.ts b/src/main/database.ts index 3d9ca44e6c..83f263290a 100644 --- a/src/main/database.ts +++ b/src/main/database.ts @@ -1,7 +1,7 @@ import sqlite3 from 'sqlite3' const newDB = (file: string): sqlite3.Database => { - let db = new sqlite3.Database(file, sqlite3.OPEN_READWRITE | sqlite3.OPEN_CREATE) + const db = new sqlite3.Database(file, sqlite3.OPEN_READWRITE | sqlite3.OPEN_CREATE) // migration db.serialize(() => { diff --git a/src/renderer/components/GlobalHeader.vue b/src/renderer/components/GlobalHeader.vue index 08bb31f351..22cc08548e 100644 --- a/src/renderer/components/GlobalHeader.vue +++ b/src/renderer/components/GlobalHeader.vue @@ -15,7 +15,7 @@ :index="`/${account.id}/`" :route="{ path: `/${account.id}/home` }" v-for="([account, server], _index) in accounts" - v-bind:key="account.id" + :key="account.id" role="menuitem" > diff --git a/src/renderer/components/Login/Authorize.vue b/src/renderer/components/Login/Authorize.vue index b6453f704d..23603df9be 100644 --- a/src/renderer/components/Login/Authorize.vue +++ b/src/renderer/components/Login/Authorize.vue @@ -11,7 +11,7 @@ label-width="120px" label-position="top" class="authorize-form" - v-on:submit.prevent="authorizeSubmit" + @submit.prevent="authorizeSubmit" >

{{ $t('authorize.misskey_label') }}

@@ -46,7 +46,7 @@ import { useStore } from '@/store' import { ACTION_TYPES } from '@/store/Login' export default defineComponent({ - name: 'authorize', + name: 'Authorize', setup() { const space = 'Login' const store = useStore()