dillon1000/react

Commit

Protect against passing component stack twice

This is a leftover from #13161 that I forgot to include.
It ensures we don't accidentally write code in the old way and end up passing the stack twice.
Browse files
Changed paths2 files
First-parent comparison
M scripts/jest/matchers/__tests__/toWarnDev-test.js ModifiedM scripts/jest/matchers/toWarnDev.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…