Skip to content

Commit

Permalink
Toast: Remove faulty default duration which breaks ToastProvider set …
Browse files Browse the repository at this point in the history
…value and Infinty duration for error toasts - these can be set manually when you need them
  • Loading branch information
corbanbrook committed Apr 23, 2024
1 parent 7615033 commit 5ffceac
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/Toast/Toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ export const Toast = (props: ToastProps) => {
open
forceMount
asChild
duration={variant === 'error' ? Infinity : 5000}
{...rest}
>
<Card
Expand Down

0 comments on commit 5ffceac

Please sign in to comment.