Skip to content

Commit

Permalink
feat(@captn/joy): update to new type
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelass committed May 15, 2024
1 parent e3b5dac commit 1a2981e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions packages/joy/src/required-downloads/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useRequiredDownloads } from "@captn/react/use-required-downloads";
import { RequiredDownload } from "@captn/utils/types";
import CheckIcon from "@mui/icons-material/Check";
import DownloadIcon from "@mui/icons-material/Download";
import Box from "@mui/joy/Box";
Expand Down Expand Up @@ -43,13 +44,7 @@ export function RequiredDownloads({
note?: string;
disableTypography?: boolean;
downloadLabel?(doneCount: number, requiredCount: number): string;
allRequiredDownloads: {
label: string;
id: string;
source: string;
destination: string;
unzip?: boolean;
}[];
allRequiredDownloads: RequiredDownload[];
}) {
const { download, isCompleted, isDownloading, percent, downloadCount, requiredDownloads } =
useRequiredDownloads(allRequiredDownloads);
Expand Down

0 comments on commit 1a2981e

Please sign in to comment.