Migrate react-query to v5
This commit is contained in:
21 files changed
+66
-86
No files matched your search
@@ -49,10 +49,10 @@ export const usePlaybackStore = create((set) => ({
|
||||
}));
|
||||
|
||||
export const usePlaybackDataLoadStore = create((set) => ({
|
||||
isLoading: false,
|
||||
setIsLoading: (loading) =>
|
||||
isPending: false,
|
||||
setisPending: (loading) =>
|
||||
set((state) => ({
|
||||
...state,
|
||||
isLoading: loading,
|
||||
isPending: loading,
|
||||
})),
|
||||
}));
|
||||
Reference in new issue
Block a user