Skip to content

Commit

Permalink
refs #2500 Fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
h3poteto committed Jan 12, 2023
1 parent a68a24e commit f79282d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/database.ts
Original file line number Diff line number Diff line change
@@ -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(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/GlobalHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
>
<FailoverImg :src="account.avatar" class="avatar" :title="account.username + '@' + server.domain" />
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/components/Login/Authorize.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
label-width="120px"
label-position="top"
class="authorize-form"
v-on:submit.prevent="authorizeSubmit"
@submit.prevent="authorizeSubmit"
>
<p v-if="sns === 'misskey'">{{ $t('authorize.misskey_label') }}</p>
<el-form-item :label="$t('authorize.code_label')" v-else>
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit f79282d

Please sign in to comment.