mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
rename app provider to editor provider and add it to the editor instead
This commit is contained in:
+3
-3
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user