summaryrefslogtreecommitdiff
path: root/apps/web
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-06-22 13:09:21 +0200
committerMaze Winther <mazewinther@gmail.com>2025-06-22 13:09:21 +0200
commit5792eecfc35465fc87fdca4f29a85cc0fe29e7ab (patch)
tree7353c5d9d48a722eba262b3e1167323395349d54 /apps/web
parent6b77e83ca0a14111fb675338102f7b0683ea1fcb (diff)
downloadopencut-5792eecfc35465fc87fdca4f29a85cc0fe29e7ab.tar.gz
finish renaming
Diffstat (limited to 'apps/web')
-rw-r--r--apps/web/src/components/editor-provider.tsx4
-rw-r--r--apps/web/src/stores/editor-store.ts4
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,