Skip to content

Commit

Permalink
update mutation
Browse files Browse the repository at this point in the history
  • Loading branch information
hervedombya committed Oct 18, 2023
1 parent dad383b commit cf7a7de
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/lib/components/toast/useMutationsHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,17 @@ type Props<
// };

export const useMutationsHandler = <
MainMutationType extends UseMutationResult<
unknown,
unknown,
unknown,
unknown
A = unknown,
B = unknown,
C = unknown,
D = unknown,
MainMutationType extends UseMutationResult<A, B, C, D> = UseMutationResult<
A,
B,
C,
D
>,
T extends any[] | [],
T extends any[] | [] = [],
>({
mainMutation,
dependantMutations,
Expand Down

0 comments on commit cf7a7de

Please sign in to comment.