diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-06-22 13:09:21 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-06-22 13:09:21 +0200 |
| commit | 5792eecfc35465fc87fdca4f29a85cc0fe29e7ab (patch) | |
| tree | 7353c5d9d48a722eba262b3e1167323395349d54 | |
| parent | 6b77e83ca0a14111fb675338102f7b0683ea1fcb (diff) | |
| download | opencut-5792eecfc35465fc87fdca4f29a85cc0fe29e7ab.tar.gz | |
finish renaming
| -rw-r--r-- | apps/web/src/components/editor-provider.tsx | 4 | ||||
| -rw-r--r-- | apps/web/src/stores/editor-store.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/web/src/components/editor-provider.tsx b/apps/web/src/components/editor-provider.tsx index 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.ts index 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 states
isInitializing: 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 states
isInitializing: true,
isPanelsReady: false,
|
