1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-04-21 13:51:59 +02:00

update error message

This commit is contained in:
Ian Storm Taylor 2016-12-07 21:34:46 -08:00
parent 5808e64635
commit 36670d0d41

View File

@ -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\`.`)
}