Skip to content

Commit

Permalink
Fixed Linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ananya-agarwal committed Mar 9, 2024
1 parent 19238da commit 3483c88
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3483c88

Please sign in to comment.