diff --git a/frontend/apps/editor3d/app/src/pages/Stores/TabState.ts b/frontend/apps/editor3d/app/src/pages/Stores/TabState.ts index d6f1fd7964..213ea01a74 100644 --- a/frontend/apps/editor3d/app/src/pages/Stores/TabState.ts +++ b/frontend/apps/editor3d/app/src/pages/Stores/TabState.ts @@ -3,6 +3,8 @@ import { useSceneStore } from '../PageDraw/stores/SceneState'; export type TabId = '2D' | '3D' | 'VIDEO' | 'IMAGE' | 'EDIT'; +const DEFAULT_TAB : TabId = '2D'; + interface TabState { // Current active tab activeTabId: TabId; @@ -18,7 +20,7 @@ interface TabState { } export const useTabStore = create((set, get) => ({ - activeTabId: 'EDIT', + activeTabId: DEFAULT_TAB, tabData: {}, setActiveTab: async (newTabId) => {