feat: Store SN Root 경로에서 사용하도록 수정중 (추가 작업 필요)

This commit is contained in:
swcho
2025-08-01 16:44:08 +09:00
parent 19cae3fd03
commit 406826a11b
7 changed files with 132 additions and 27 deletions
@@ -6,6 +6,7 @@ import {
createAttachmentStore,
createMenuStore,
createUserStore,
createDataStore,
} from "../store";
type StoreContextType = {
@@ -13,6 +14,7 @@ type StoreContextType = {
attachmentStore: ReturnType<typeof createAttachmentStore>;
menuStore: ReturnType<typeof createMenuStore>;
userStore: ReturnType<typeof createUserStore>;
dataStore: ReturnType<typeof createDataStore>;
};
export const StoreContext = createContext<StoreContextType | undefined>(
@@ -27,6 +29,7 @@ export const StoreProvider = ({ children }: { children: React.ReactNode }) => {
attachmentStore: createAttachmentStore(),
menuStore: createMenuStore(),
userStore: createUserStore(),
dataStore: createDataStore(),
};
}