@sinco/react 1.1.2-rc.53 → 1.1.2-rc.54
Sign up to get free protection for your applications and to get access to all the features.
- package/index.esm.js +1 -1
- package/package.json +1 -1
package/index.esm.js
CHANGED
@@ -14496,7 +14496,7 @@ const ToastNotification = toast => {
|
|
14496
14496
|
setStateOptions(prevShowOptions => !prevShowOptions);
|
14497
14497
|
};
|
14498
14498
|
useEffect(() => {
|
14499
|
-
progressToast
|
14499
|
+
progressToast >= 100 && setStateToast(false);
|
14500
14500
|
}, [progressToast]);
|
14501
14501
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, stateToast && ( /*#__PURE__*/React__default.createElement(Stack$1, {
|
14502
14502
|
position: 'fixed',
|