fix(Toast): onClose option should only be called once (#7496)
This commit is contained in:
@@ -108,6 +108,7 @@ function Toast(options = {}) {
|
||||
|
||||
if (options.onClose) {
|
||||
options.onClose();
|
||||
options.onClose = null;
|
||||
}
|
||||
|
||||
if (multiple && !isServer) {
|
||||
|
||||
Reference in New Issue
Block a user