From 3bfc10f43a69b4fedf535115039bf043f083bb9d 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 36b087a5..55e71257 100644 --- a/src/boot/after_store.js +++ b/src/boot/after_store.js @@ -396,9 +396,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 })