mirror of
https://github.com/logos-storage/logos-storage-marketplace-ui.git
synced 2026-04-21 10:23:09 +00:00
Fix invalid query key
This commit is contained in:
parent
7a88b342a6
commit
aa29ec539b
@ -23,7 +23,7 @@ export function useStorageRequestMutation(
|
||||
.createStorageRequest(input)
|
||||
.then((s) => Promises.rejectOnError(s)),
|
||||
onSuccess: async () => {
|
||||
queryClient.invalidateQueries({ queryKey: ["mutationKey"] });
|
||||
queryClient.invalidateQueries({ queryKey: ["purchases"] });
|
||||
|
||||
// if (!requestId.startsWith("0x")) {
|
||||
// requestId = "0x" + requestId;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user