aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/plugins/store.ts
diff options
context:
space:
mode:
authorRemy Raes <raes.remy@gmail.com>2022-10-20 02:29:44 +0200
committerRemy Raes <raes.remy@gmail.com>2022-10-20 02:29:44 +0200
commitb2d5e2c7df469b0d198e8dffceb003cfa0c4aabf (patch)
tree3c913c64b5c79096afc97cc11a5886205dab7c13 /src-vue/src/plugins/store.ts
parenta0cb231ddbdd7fdced9e7cda771dff7d0833c826 (diff)
downloadFlightCore-b2d5e2c7df469b0d198e8dffceb003cfa0c4aabf.tar.gz
FlightCore-b2d5e2c7df469b0d198e8dffceb003cfa0c4aabf.zip
refactor: remove unused current_tab variable from store
Diffstat (limited to 'src-vue/src/plugins/store.ts')
-rw-r--r--src-vue/src/plugins/store.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts
index a977b38b..4fa7328b 100644
--- a/src-vue/src/plugins/store.ts
+++ b/src-vue/src/plugins/store.ts
@@ -14,7 +14,6 @@ const persistentStore = new Store('flight-core-settings.json');
export interface FlightCoreStore {
- current_tab: Tabs,
developer_mode: boolean,
game_path: string,
install_type: InstallType,
@@ -32,7 +31,6 @@ export interface FlightCoreStore {
export const store = createStore<FlightCoreStore>({
state (): FlightCoreStore {
return {
- current_tab: Tabs.PLAY,
developer_mode: false,
game_path: undefined as unknown as string,
install_type: undefined as unknown as InstallType,
@@ -65,7 +63,6 @@ export const store = createStore<FlightCoreStore>({
_initializeListeners(state);
},
updateCurrentTab(state: any, newTab: Tabs) {
- state.current_tab = newTab;
router.push({path: newTab});
},
async launchGame(state: any) {