mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-20 14:11:35 +02:00
Add newline for better readability in console
This commit is contained in:
@@ -103,7 +103,7 @@ class Node extends React.Component {
|
|||||||
if (!Immutable.is(props.node, this.props.node)) {
|
if (!Immutable.is(props.node, this.props.node)) {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
warning('Encountered different references for identical node values in "shouldComponentUpdate". Check that you are preserving references for the following node:', props.node)
|
warning('Encountered different references for identical node values in "shouldComponentUpdate". Check that you are preserving references for the following node:\n', props.node)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user