Skip to content

Commit

Permalink
Resolved conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
manmeetnagii committed Jan 12, 2025
1 parent 4965b31 commit cc5e17a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/Common/Export.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ 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";

Check failure on line 12 in src/components/Common/Export.tsx

View workflow job for this annotation

GitHub Actions / cypress-run (1)

Module '"@/Utils/request/types"' has no exported member 'ApiRoute'.

interface ExportButtonProps {
disabled?: boolean | undefined;
tooltip?: string | undefined;
tooltipClassName?: string;
type?: "csv" | "json";
action?: Parameters<ReturnType<typeof useExport>["exportFile"]>[0];
route?: Route<string | { results: object[] }, unknown>;
route?: ApiRoute<string | { results: object[] }, unknown>;
parse?: (data: string) => string;
filenamePrefix: string;
className?: string;
Expand Down Expand Up @@ -69,4 +69,3 @@ export const ExportButton = ({
</>
);
};
tMenu;

0 comments on commit cc5e17a

Please sign in to comment.