Commit 3c85424
committed
Fix evaluated Wrapper type
React.createElement expects string or React.Component in first
argument.
React.DOM.div and React.DOM.span are neither strings nor Components.
They are wrappers around React.createElement.
Also, they are deprecated.
Read more:
https://facebook.github.io/react/docs/react-api.html#createelement
For our case, we could safely pass strings to React.createElement,
so, no need to use React.DOM.div etc1 parent c37e063 commit 3c85424
1 file changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 61 | + | |
65 | 62 | | |
66 | 63 | | |
67 | 64 | | |
| |||
433 | 430 | | |
434 | 431 | | |
435 | 432 | | |
436 | | - | |
437 | | - | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
438 | 437 | | |
439 | 438 | | |
440 | 439 | | |
| |||
0 commit comments