fix(SW-993): toast is now full width on mobile
updated sonner to latest version increased default duration of toast to 5 sec
This commit is contained in:
@@ -16,7 +16,7 @@ import { toastVariants } from "./variants"
|
||||
import styles from "./toasts.module.css"
|
||||
|
||||
export function ToastHandler() {
|
||||
return <Toaster position="bottom-right" />
|
||||
return <Toaster position="bottom-right" duration={5000} />
|
||||
}
|
||||
|
||||
function getIcon(variant: ToastsProps["variant"]) {
|
||||
|
||||
Reference in New Issue
Block a user