Skip to content

Commit 6783d80

Browse files
authored
Change default toast duration to 2000ms
1 parent b1e4955 commit 6783d80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/remix-ui/toaster/src/lib/toaster.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const Toaster = (props: ToasterProps) => {
1515
useEffect(() => {
1616
if (props.message) {
1717
// Show toast using Sonner
18-
const duration = props.timeOut || 120000
18+
const duration = props.timeOut || 2000
1919

2020
if (typeof props.message === 'string') {
2121
toast(props.message, {

0 commit comments

Comments
 (0)