File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
src/frontend/lib/data/useMutate Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1+ import type { MessageDescriptor } from "@lingui/core" ;
2+
3+ export type ToastMessageInput = {
4+ description : MessageDescriptor ;
5+ // action?: { label: MessageDescriptor; action: () => void };
6+ } ;
Original file line number Diff line number Diff line change 1- import type { MessageDescriptor } from "@lingui/core" ;
21import { msg } from "@lingui/macro" ;
32import { useMutation , useQueryClient } from "@tanstack/react-query" ;
43
@@ -7,11 +6,7 @@ import { noop } from "@/shared/lib/noop";
76import { fakeMessageDescriptor } from "@/translations/fake" ;
87
98import { getQueryCachekey } from "../constants/getQueryCacheKey" ;
10-
11- export type ToastMessageInput = {
12- description : MessageDescriptor ;
13- // action?: { label: MessageDescriptor; action: () => void };
14- } ;
9+ import type { ToastMessageInput } from "./types" ;
1510
1611export interface IApiMutateOptions < T , V , R > {
1712 dataQueryPath : string ;
You can’t perform that action at this time.
0 commit comments