-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added message #227
added message #227
Conversation
@@ -15,6 +15,8 @@ export const ExportConfig: React.FC<Props> = props => { | |||
const [exportHTMLSettings, setExportHTMLSettings] = React.useState<ExportHTMLSettings>({ | |||
primaryColor: theme.palette.primary[600], | |||
}); | |||
const [isDownload, setIsDownload] = React.useState<boolean>(false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isDownloadInProgress setIsDownloadInProgress
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is fixed
|
||
setTimeout(() => { | ||
cancelExport(); | ||
}, 2500); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Saco este valor a un constante fuera del componente en el mismo fichero
DOWNLOAD_MESSAGE_TIMEOUT 2500
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is fixed
Closed #225