The open-source CapCut alternative
finish renaming
Maze Winther5792eecfc354
diff --git a/apps/web/src/components/editor-provider.tsx b/apps/web/src/components/editor-provider.tsxindex fbae4c90..ab55c7d7 100644--- a/apps/web/src/components/editor-provider.tsx+++ b/apps/web/src/components/editor-provider.tsx@@ -2,7 +2,7 @@import { useEffect } from "react";import { Loader2 } from "lucide-react";-import { useAppStore } from "@/stores/editor-store";+import { useEditorStore } from "@/stores/editor-store";import { usePanelStore } from "@/stores/panel-store";interface EditorProviderProps {@@ -10,7 +10,7 @@ interface EditorProviderProps {}export function EditorProvider({ children }: EditorProviderProps) {- const { isInitializing, isPanelsReady, initializeApp } = useAppStore();+ const { isInitializing, isPanelsReady, initializeApp } = useEditorStore();const { setInitialized } = usePanelStore();useEffect(() => {diff --git a/apps/web/src/stores/editor-store.ts b/apps/web/src/stores/editor-store.tsindex 746fdc45..e8dd8e21 100644--- a/apps/web/src/stores/editor-store.ts+++ b/apps/web/src/stores/editor-store.ts@@ -1,6 +1,6 @@import { create } from "zustand";-interface AppState {+interface EditorState {// Loading statesisInitializing: boolean;isPanelsReady: boolean;@@ -11,7 +11,7 @@ interface AppState {initializeApp: () => Promise<void>;}-export const useAppStore = create<AppState>((set, get) => ({+export const useEditorStore = create<EditorState>((set, get) => ({// Initial statesisInitializing: true,isPanelsReady: false,