feat: Store SN Root 경로에서 사용하도록 수정중 (추가 작업 필요)
This commit is contained in:
@@ -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(),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user