@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.
Files changed (2) hide show
  1. package/index.esm.js +1 -1
  2. 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 <= 0 && setStateToast(false);
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',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.1.2-rc.53",
3
+ "version": "1.1.2-rc.54",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",