We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4499309 commit 2542b5fCopy full SHA for 2542b5f
src/hooks/use-toast-mutation.ts
@@ -42,6 +42,7 @@ export function useToastMutation<
42
success:
43
typeof successMsg === "function" ? successMsg(variables) : successMsg,
44
loading: loadingMsg ?? "Loading...",
45
+ duration: 5000,
46
error: (e: TError) => {
47
if (errorMsg) return errorMsg;
48
0 commit comments