Skip to content

Commit 63579f8

Browse files
committed
chore: remove unused variable
1 parent e01c4a9 commit 63579f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/renderer/src/components/SettingsModal.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ onMounted(() => {
5353
showUpdateNotAvailable.value = false
5454
}, 5000)
5555
})
56-
window.electronAPI.onAutoUpdaterError(async (_) => {
56+
window.electronAPI.onAutoUpdaterError(async () => {
5757
showUpdateNotAvailable.value = true
5858
showErrorOnUpdateRequest.value = true
5959
checkingForUpdate.value = false
@@ -105,7 +105,7 @@ onMounted(() => {
105105
<span>Check for updates</span>
106106
</div>
107107
</SecondaryButton>
108-
<div class="flex text-sm text-text-primary" v-if="showUpdateNotAvailable">
108+
<div v-if="showUpdateNotAvailable" class="flex text-sm text-text-primary">
109109
No update available.
110110
<span v-if="showErrorOnUpdateRequest"
111111
>There was an error while fetching the update.</span

0 commit comments

Comments
 (0)