diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-06-22 13:08:37 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-06-22 13:08:37 +0200 |
| commit | 6b77e83ca0a14111fb675338102f7b0683ea1fcb (patch) | |
| tree | 9431533ce3d92cc7b3e8c7c014923c89d29b51c5 /apps/web/src/components | |
| parent | be970248686c0af7d8506cba8c64bf507419da3d (diff) | |
| download | opencut-6b77e83ca0a14111fb675338102f7b0683ea1fcb.tar.gz | |
rename app provider to editor provider and add it to the editor instead
Diffstat (limited to 'apps/web/src/components')
| -rw-r--r-- | apps/web/src/components/editor-provider.tsx (renamed from apps/web/src/components/app-provider.tsx) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/web/src/components/app-provider.tsx b/apps/web/src/components/editor-provider.tsx index 257fc8fa..fbae4c90 100644 --- a/apps/web/src/components/app-provider.tsx +++ b/apps/web/src/components/editor-provider.tsx @@ -2,14 +2,14 @@ import { useEffect } from "react";
import { Loader2 } from "lucide-react";
-import { useAppStore } from "@/stores/app-store";
+import { useAppStore } from "@/stores/editor-store";
import { usePanelStore } from "@/stores/panel-store";
-interface AppProviderProps {
+interface EditorProviderProps {
children: React.ReactNode;
}
-export function AppProvider({ children }: AppProviderProps) {
+export function EditorProvider({ children }: EditorProviderProps) {
const { isInitializing, isPanelsReady, initializeApp } = useAppStore();
const { setInitialized } = usePanelStore();
|
