fix: convert id to string for cache key detail function

This commit is contained in:
CREDO23 2025-12-12 06:40:13 +00:00
parent 46061f64ee
commit a820598cfd

View file

@ -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)),
});
}
},