@lemon-fe/components 0.1.23 → 0.1.26

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.
@@ -209,7 +209,7 @@ export default function Menu(props) {
209
209
  var popup = useRef(null);
210
210
  var drawer = useRef(null);
211
211
 
212
- var _useState3 = useState(false),
212
+ var _useState3 = useState(document.body.clientWidth <= 1280),
213
213
  _useState4 = _slicedToArray(_useState3, 2),
214
214
  collapsed = _useState4[0],
215
215
  setCollapsed = _useState4[1];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/components",
3
- "version": "0.1.23",
3
+ "version": "0.1.26",
4
4
  "description": "> TODO: description",
5
5
  "author": "鲁盛杰 <lusj@cnlemon.net>",
6
6
  "homepage": "",
@@ -41,5 +41,5 @@
41
41
  "react": "^17.0.2",
42
42
  "react-dom": "^17.0.2"
43
43
  },
44
- "gitHead": "7f04dc0d1db645567e072e718a0965cc8b499d3e"
44
+ "gitHead": "14dc8a92689ded718e70523282c3979784044154"
45
45
  }