Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hervedombya committed Oct 18, 2023
1 parent 57da19e commit a6a18a7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/lib/components/toast/useMutationsHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@ import {
} from 'react-query';
import { useToast } from './ToastProvider';

export type MutationConfig<
A = unknown,
B = unknown,
C = unknown,
D = unknown,
T extends UseMutationResult<A, B, C, D> = UseMutationResult<A, B, C, D>,
> = {
export type MutationConfig<T> = {
mutation: T;
name: string;
};
Expand Down

0 comments on commit a6a18a7

Please sign in to comment.