finish renaming

This commit is contained in:
Maze Winther
2025-06-22 13:09:21 +02:00
parent 6b77e83ca0
commit 5792eecfc3
2 changed files with 4 additions and 4 deletions

View File

@ -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(() => {

View File

@ -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,