Skip to content

Commit

Permalink
refactor: changed delay on toast
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Curtis committed Aug 23, 2024
1 parent 6803c21 commit c828d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/FeedbackComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const FeedbackComponent = ({ title, message, type, toggleVisible }) => {
>
<Toast
onClose={toggleVisible}
delay={5000}
delay={2000}
bg={type === "error" ? "warning" : type}
autohide={true}
>
Expand Down

0 comments on commit c828d40

Please sign in to comment.