From 0d02914de4942a0bfbbda639a46dcec262ede77d Mon Sep 17 00:00:00 2001 From: Francis Dinh Date: Wed, 7 Sep 2022 12:57:39 -0400 Subject: [PATCH] client: fix lints in general.vue Removed some unused variables and added return type to reloadAsk --- packages/client/src/pages/settings/general.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/client/src/pages/settings/general.vue b/packages/client/src/pages/settings/general.vue index 9be40bdd8..f97487f33 100644 --- a/packages/client/src/pages/settings/general.vue +++ b/packages/client/src/pages/settings/general.vue @@ -121,7 +121,7 @@ const lang = ref(localStorage.getItem('lang')); const fontSize = ref(localStorage.getItem('fontSize')); const useSystemFont = ref(localStorage.getItem('useSystemFont') != null); -async function reloadAsk() { +async function reloadAsk(): Promise { const { canceled } = await os.confirm({ type: 'info', text: i18n.ts.reloadToApplySetting, @@ -190,10 +190,6 @@ watch([ await reloadAsk(); }); -const headerActions = $computed(() => []); - -const headerTabs = $computed(() => []); - definePageMetadata({ title: i18n.ts.general, icon: 'fas fa-cogs',