refactor: run formatter
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { ActionIcon, Table } from "@mantine/core";
|
||||
import { Dispatch, SetStateAction } from "react";
|
||||
import { TbTrash } from "react-icons/tb";;
|
||||
import { TbTrash } from "react-icons/tb";
|
||||
import { FileUpload } from "../../types/File.type";
|
||||
import { byteStringToHumanSizeString } from "../../utils/math/byteStringToHumanSizeString.util";
|
||||
import UploadProgressIndicator from "./UploadProgressIndicator";
|
||||
|
||||
@@ -8,14 +8,12 @@ const showCreateUploadModal = (
|
||||
uploadCallback: (
|
||||
id: string,
|
||||
expiration: string,
|
||||
security: ShareSecurity,
|
||||
security: ShareSecurity
|
||||
) => void
|
||||
) => {
|
||||
return modals.openModal({
|
||||
title: <Title order={4}>Share</Title>,
|
||||
children: (
|
||||
<CreateUploadModalBody uploadCallback={uploadCallback} />
|
||||
),
|
||||
children: <CreateUploadModalBody uploadCallback={uploadCallback} />,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user