From c1c75f78ba23a6abe1aa944267aeddb7f5caefeb Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Wed, 10 Apr 2024 21:44:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=20Remove=20commented=20out=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mixins/HomeMixin.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/mixins/HomeMixin.js b/src/mixins/HomeMixin.js index e8413873..ad24fd0b 100644 --- a/src/mixins/HomeMixin.js +++ b/src/mixins/HomeMixin.js @@ -58,14 +58,6 @@ const HomeMixin = { const subPageName = isSubPage ? pagePath.split('/').pop() : null; return subPageName; }, - // async getConfigForRoute() { - // this.$store.commit(Keys.SET_CURRENT_SUB_PAGE, this.subPageInfo); - // if (this.subPageInfo && this.subPageInfo.confPath) { // Get config for sub-page - // await this.$store.dispatch(Keys.INITIALIZE_MULTI_PAGE_CONFIG, this.subPageInfo.confPath); - // } else { // Otherwise, use main config - // this.$store.commit(Keys.USE_MAIN_CONFIG); - // } - // }, /* TEMPORARY: If on sub-page, check if custom theme is set and return it */ getSubPageTheme() { if (!this.pageId || this.pageId === 'home') {