diff --git a/desktop/core/src/desktop/js/reactComponents/AlertComponent/AlertComponent.tsx b/desktop/core/src/desktop/js/reactComponents/AlertComponent/AlertComponent.tsx index 2eda41bcc06..89e7f8146b2 100644 --- a/desktop/core/src/desktop/js/reactComponents/AlertComponent/AlertComponent.tsx +++ b/desktop/core/src/desktop/js/reactComponents/AlertComponent/AlertComponent.tsx @@ -45,9 +45,9 @@ const AlertComponent: React.FC = () => { return activeAlerts; } - const newAlert:VisibleAlert = { alert, type }; + const newAlert: VisibleAlert = { alert, type }; - if(type === 'info') { + if (type === 'info') { setTimeout(() => { handleClose(newAlert); }, 3000);