Skip to content

Commit

Permalink
fix typo in NodeHelpers
Browse files Browse the repository at this point in the history
  • Loading branch information
prevwong authored Jan 14, 2020
1 parent 41b03db commit cf5392b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/docs/api/NodeHelpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {useEditor} from "@craftjs/core";

const TextComponent = () => {
const { id } = useNode();
const { query: {is} } = useEditor();
const { query: {node} } = useEditor();
const isRoot = node(id).Root(),
isDraggable = node(id).Draggable();
...
Expand Down

0 comments on commit cf5392b

Please sign in to comment.