Scheduling infrastructure for absolutely everyone.
fix: show toast in center of screen (#14690)
Guvanch Gurbandurdyyev9fdaaed100f9
diff --git a/packages/ui/components/toast/showToast.tsx b/packages/ui/components/toast/showToast.tsxindex 979fa83b9e4..7eb44171d1b 100644--- a/packages/ui/components/toast/showToast.tsx+++ b/packages/ui/components/toast/showToast.tsx@@ -88,6 +88,7 @@ export function showToast(//const _options: ToastOptions = typeof options === "number" ? { duration: options } : options;if (!_options.duration) _options.duration = TOAST_VISIBLE_DURATION;+ if (!_options.position) _options.position = "bottom-center";const onClose = (toastId: string) => {toast.remove(toastId);