Revert "fix download file"

This commit is contained in:
Chika 2020-12-28 14:06:26 +03:00
parent d1b312dd61
commit 18b455cf04

View File

@ -6,6 +6,7 @@ const Download = ({ status, url, text, icon: Icon, ...props }) => {
return (
<AntButton
{...props}
target="_blank"
href={url}
disabled={status === ElementStatus.Disabled || !url}
loading={status === ElementStatus.Loading}