diff --git a/src/utils/find-dom-node.js b/src/utils/find-dom-node.js index cc0d308b8..1292b1be2 100644 --- a/src/utils/find-dom-node.js +++ b/src/utils/find-dom-node.js @@ -10,7 +10,7 @@ function findDOMNode(node) { const el = window.document.querySelector(`[data-key="${node.key}"]`) if (!el) { - throw new Error(`Unable to find a dom node for "${node.key}". This is + throw new Error(`Unable to find a DOM node for "${node.key}". This is often because of forgetting to add \`props.attributes\` to a component returned from \`renderNode\`.`) }