fix download file

This commit is contained in:
Chika 2020-12-28 13:05:20 +03:00
parent bb1ac67112
commit d1b312dd61

View File

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