Open source personal finance application
chore: remove unused code
Ilya Komichev27bca7f9ce4e
diff --git a/layouts/default.vue b/layouts/default.vueindex 583788b9..6efd8fcd 100644--- a/layouts/default.vue+++ b/layouts/default.vue@@ -16,19 +16,6 @@ const keepAliveInclude = ['pages/wallets/index.vue',]-/**- * Update modal- */-const isShowUpdateApp = ref(false)-onMounted(async () => {- const workbox = await window.$workbox- if (workbox) {- workbox.addEventListener('installed', (event) => {- isShowUpdateApp.value = event.isUpdate- })- }-})-// TODO: Put in one separate setup functionconst { pointerType } = usePointer()const classes = computed(() => [diff --git a/layouts/welcome.vue b/layouts/welcome.vueindex 61bcf43f..803ca44c 100644--- a/layouts/welcome.vue+++ b/layouts/welcome.vue@@ -12,19 +12,6 @@ useLazyAsyncData('posts', async () => {const keepAliveInclude = ['PagesIndex, PagesWallets', 'PagesCategories', 'PagesHistory']-/**- * Update modal- */-const isShowUpdateApp = ref(false)-onMounted(async () => {- const workbox = await window.$workbox- if (workbox) {- workbox.addEventListener('installed', (event) => {- isShowUpdateApp.value = event.isUpdate- })- }-})-// TODO: Put in one separate setup functionconst { pointerType } = usePointer()const classes = computed(() => [