We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cab838 commit d6fe402Copy full SHA for d6fe402
1 file changed
frontend/src/hooks/useIncomingStreams.ts
@@ -50,7 +50,7 @@ export function useWithdrawIncomingStream(
50
},
51
onMutate: async (stream) => {
52
if (!publicKey) {
53
- return {};
+ return { previousStreams: undefined, expectedWithdrawn: stream.withdrawn };
54
}
55
56
// Cancel any outgoing refetches (so they don't overwrite our optimistic update)
0 commit comments