From cef4e2c2dac2bc905c9c5ff0cb089355bc1c117c Mon Sep 17 00:00:00 2001 From: Ananya_Agarwal Date: Tue, 5 Mar 2024 19:36:32 +0530 Subject: [PATCH] Fixed Linting issues --- .../js/reactComponents/AlertComponent/AlertComponent.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);