@onehat/ui 0.2.75 → 0.2.76

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/ui",
3
- "version": "0.2.75",
3
+ "version": "0.2.76",
4
4
  "description": "Base UI for OneHat apps",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -19,7 +19,7 @@ export default function withSideEditor(WrappedComponent, isTree = false) {
19
19
  }
20
20
 
21
21
  return <Container
22
- center={<WrappedComponent isTree={isTree} {...props} />}
22
+ center={<WrappedComponent {...props} />}
23
23
  east={<Editor
24
24
  editorType={EDITOR_TYPE__SIDE}
25
25
  flex={sideFlex}
@@ -27,5 +27,5 @@ export default function withSideEditor(WrappedComponent, isTree = false) {
27
27
  {...editorProps}
28
28
  />}
29
29
  />;
30
- });
30
+ }, isTree);
31
31
  }
@@ -40,7 +40,7 @@ export default function withWindowedEditor(WrappedComponent, isTree = false) {
40
40
  }
41
41
 
42
42
  return <>
43
- <WrappedComponent isTree={isTree} {...props} />
43
+ <WrappedComponent {...props} />
44
44
  {useEditor && isEditorShown &&
45
45
  <Modal
46
46
  isOpen={true}
@@ -53,5 +53,5 @@ export default function withWindowedEditor(WrappedComponent, isTree = false) {
53
53
  />
54
54
  </Modal>}
55
55
  </>;
56
- });
56
+ }, isTree);
57
57
  }