mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-10 20:35:17 +02:00
fix: convert id to string for cache key detail function
This commit is contained in:
parent
46061f64ee
commit
a820598cfd
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ export const updateSearchSpaceMutationAtom = atomWithMutation((get) => {
|
|||
});
|
||||
if (request.id) {
|
||||
queryClient.invalidateQueries({
|
||||
queryKey: cacheKeys.searchSpaces.detail(request.id),
|
||||
queryKey: cacheKeys.searchSpaces.detail(String(request.id)),
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue