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 5, 2024
1 parent 2c4c4ae commit cef4e2c
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 cef4e2c

Please sign in to comment.