diff --git a/frontend/src/store/project-store.ts b/frontend/src/store/project-store.ts index d35ba14..6bb2cdb 100644 --- a/frontend/src/store/project-store.ts +++ b/frontend/src/store/project-store.ts @@ -56,8 +56,9 @@ export const useProjectStore = create((set) => ({ typeof updater === "function" ? updater(state.generatedCode) : updater, })), - variants: [], currentVariantIndex: 0, + variants: [], + executionConsoles: {}, setCurrentVariantIndex: (index) => set({ currentVariantIndex: index }), setVariant: (code: string, index: number) => @@ -80,8 +81,6 @@ export const useProjectStore = create((set) => ({ }), resetVariants: () => set({ variants: [], currentVariantIndex: 0 }), - executionConsoles: {}, - appendExecutionConsole: (variantIndex: number, line: string) => set((state) => ({ executionConsoles: {