Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
prevwong committed Feb 28, 2020
2 parents 76422f9 + 2d81fe8 commit 3ef0732
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/editor/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ export const Actions = (
nodes,
_childCanvas,
isCanvas,
hidden,
custom
} = deserializeNode(reducedNodes[id], state.options.resolver);

Expand All @@ -231,6 +232,7 @@ export const Actions = (
id,
data: {
...(isCanvas && { isCanvas }),
...(hidden && { hidden }),
parent,
...(isCanvas && { nodes }),
...(_childCanvas && { _childCanvas }),
Expand Down
1 change: 1 addition & 0 deletions packages/layers/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { LayerContextProvider } from "./layers/LayerContextProvider";
import { LayerManagerProvider } from "./manager/LayerManagerProvider";
import { ROOT_NODE } from "@craftjs/utils";
import { LayerOptions } from "./interfaces";
export { useLayer } from "./layers";

export const Layers: React.FC<Partial<LayerOptions>> = ({ ...options }) => {
return (
Expand Down

0 comments on commit 3ef0732

Please sign in to comment.