Skip to content

Commit

Permalink
feat: disable retries on mutations (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
karrui authored Aug 7, 2024
1 parent d666cf3 commit 26269e5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/utils/trpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,7 @@ export const trpc = createTRPCNext<
},
},
mutations: {
retry: (_, error) => {
return isErrorRetryableOnClient(error)
},
retry: false,
},
},
},
Expand Down

0 comments on commit 26269e5

Please sign in to comment.