diff --git a/src/components/Common/Export.tsx b/src/components/Common/Export.tsx index e926c44fc65..6f9c6bdbb7d 100644 --- a/src/components/Common/Export.tsx +++ b/src/components/Common/Export.tsx @@ -9,7 +9,7 @@ import { Button } from "@/components/ui/button"; import useExport from "@/hooks/useExport"; import request from "@/Utils/request/request"; -import { Route } from "@/Utils/request/types"; +import { ApiRoute } from "@/Utils/request/types"; interface ExportButtonProps { disabled?: boolean | undefined; @@ -17,7 +17,7 @@ interface ExportButtonProps { tooltipClassName?: string; type?: "csv" | "json"; action?: Parameters["exportFile"]>[0]; - route?: Route; + route?: ApiRoute; parse?: (data: string) => string; filenamePrefix: string; className?: string; @@ -69,4 +69,3 @@ export const ExportButton = ({ ); }; -tMenu;