From dd7f34afbe596139462db8a4459e28c3722ca337 Mon Sep 17 00:00:00 2001 From: prajwalism Date: Wed, 26 Jun 2024 17:39:38 +0545 Subject: [PATCH] feat: add global state for userprofile tabs section --- src/frontend/src/store/slices/common.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/src/store/slices/common.ts b/src/frontend/src/store/slices/common.ts index 79c5ece9..d77ee79e 100644 --- a/src/frontend/src/store/slices/common.ts +++ b/src/frontend/src/store/slices/common.ts @@ -12,6 +12,7 @@ export interface CommonState { showPromptDialog: boolean; promptDialogContent: PromptDialogContentsType; showMap: boolean; + userProfileActiveTab: number; } const initialState: CommonState = { @@ -20,6 +21,7 @@ const initialState: CommonState = { showPromptDialog: false, promptDialogContent: null, showMap: false, + userProfileActiveTab: 1, }; const setCommonState: CaseReducer<