diff --git a/ui/component/fileDownloadLink/view.jsx b/ui/component/fileDownloadLink/view.jsx index fd86be3ee..670048df1 100644 --- a/ui/component/fileDownloadLink/view.jsx +++ b/ui/component/fileDownloadLink/view.jsx @@ -13,7 +13,7 @@ type Props = { fileInfo: ?FileListItem, openModal: (id: string, { path: string }) => void, pause: () => void, - download: string => void, + download: (string) => void, costInfo: ?{ cost: string }, buttonType: ?string, showLabel: ?boolean, @@ -91,6 +91,7 @@ function FileDownloadLink(props: Props) { return hideOpenButton ? null : (