From 6b4680bf37b77522780f6029447e85a64e1a5fa6 Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Wed, 15 Mar 2023 23:00:31 +0000 Subject: [PATCH] Remove unused bits and bobs --- index.html | 2 -- src/boot/after_store.js | 3 --- src/modules/users.js | 3 ++- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index fda91b0f..781b0ba3 100644 --- a/index.html +++ b/index.html @@ -4,8 +4,6 @@ Akkoma - - diff --git a/src/boot/after_store.js b/src/boot/after_store.js index bba3e597..b48bfb09 100644 --- a/src/boot/after_store.js +++ b/src/boot/after_store.js @@ -398,9 +398,6 @@ const afterStoreSetup = async ({ store, i18n }) => { ]) // Start fetching things that don't need to block the UI - store.dispatch('fetchMutes') - store.dispatch('startFetchingAnnouncements') - store.dispatch('startFetchingReports') getTOS({ store }) getStickers({ store }) diff --git a/src/modules/users.js b/src/modules/users.js index bc1943c8..209d9675 100644 --- a/src/modules/users.js +++ b/src/modules/users.js @@ -637,13 +637,14 @@ const users = { // Get user mutes store.dispatch('fetchMutes') - store.dispatch('setLayoutWidth', windowWidth()) store.dispatch('setLayoutHeight', windowHeight()) store.dispatch('getSupportedTranslationlanguages') store.dispatch('getSettingsProfile') store.dispatch('listSettingsProfiles') store.dispatch('startFetchingConfig') + store.dispatch('startFetchingAnnouncements') + store.dispatch('startFetchingReports') // Fetch our friends store.rootState.api.backendInteractor.fetchFriends({ id: user.id })