mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
change global store name
This commit is contained in:
@ -5,7 +5,7 @@ interface MainStore {
|
||||
toggleLoading: (loaded: boolean) => void;
|
||||
}
|
||||
|
||||
const useMainStore = create<MainStore>()((set) => ({
|
||||
const useStore = create<MainStore>()((set) => ({
|
||||
modelLoading: true,
|
||||
toggleLoading: (loaded) =>
|
||||
set(() => ({
|
||||
@ -13,4 +13,4 @@ const useMainStore = create<MainStore>()((set) => ({
|
||||
})),
|
||||
}));
|
||||
|
||||
export default useMainStore;
|
||||
export default useStore;
|
||||
|
Reference in New Issue
Block a user