@sinco/react 1.1.2-rc.53 → 1.1.2-rc.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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',
|