Skip to content

Commit

Permalink
[Docs] Add a NOTE line in docs of .dive() about it would throw an e…
Browse files Browse the repository at this point in the history
…rror under some cases.

See #1798
  • Loading branch information
markselby9 authored and ljharb committed Nov 15, 2018
1 parent 8573343 commit a984593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/ShallowWrapper/dive.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Shallow render the one non-DOM child of the current wrapper, and return a wrapper around the result.

NOTE: can only be called on wrapper of a single non-DOM component element node.
NOTE: can only be called on a wrapper of a single non-DOM component element node, otherwise it will throw an error. If you have to shallow-wrap a wrapper with multiple child nodes, use [.shallow()](ShallowWrapper/shallow.md).


#### Arguments
Expand Down

0 comments on commit a984593

Please sign in to comment.