A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: toast hook close func changed
shuai086895299231
diff --git a/ui/src/hooks/useToast/index.tsx b/ui/src/hooks/useToast/index.tsxindex 18ca2d13..42f8143d 100644--- a/ui/src/hooks/useToast/index.tsx+++ b/ui/src/hooks/useToast/index.tsx@@ -28,6 +28,8 @@ const useToast = () => {});const onClose = () => {+ //+ root.unmount();setShow(false);};@@ -66,6 +68,7 @@ const useToast = () => {</div>,);}, [show, data]);+return {onShow,};