diff --git a/site/pages/docs/toast.mdx b/site/pages/docs/toast.mdx index 6536bad..60bf039 100644 --- a/site/pages/docs/toast.mdx +++ b/site/pages/docs/toast.mdx @@ -119,7 +119,7 @@ Every type has their own duration. You can overwrite them `duration` with the to | `blank` | 4000 | | `error` | 4000 | | `success` | 2000 | -| `loading` | 30000 | +| `loading` | Infinity | ### Dismiss toast programmatically diff --git a/src/core/store.ts b/src/core/store.ts index 1639fdd..515b169 100644 --- a/src/core/store.ts +++ b/src/core/store.ts @@ -131,7 +131,7 @@ const defaultTimeouts: { blank: 4000, error: 4000, success: 2000, - loading: 30000, + loading: Infinity, }; export const useStore = (toastOptions: DefaultToastOptions = {}): State => {