Revert "fix download file"

This reverts commit 14a85a40c83cd5d1c54e8e0f2c474d0c85783c2d.
This commit is contained in:
Chika 2020-12-28 14:37:25 +03:00
parent 788ecfb3e7
commit d9ef0f3971

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}