This commit is contained in:
2025-04-06 23:22:16 +08:00
parent 82cc4dab87
commit 6d52707ad3
4 changed files with 33 additions and 6 deletions

View File

@@ -38,5 +38,7 @@ type ToastLoginProps = {
* });
*/
export const toastLogin = (props: ToastLoginProps = {}) => {
toast.info(<LoginMessage {...props} />);
toast.info(<LoginMessage {...props} />, {
autoClose: 5000 * 3,
});
};