dillon1000/react

Commit

[DevTools] Fix formatWithStyles not styling the results if the first argument is an object + Added unit tests (#24554)

formatWithStyles currently doesn't style the array argument if the first argument is an object. This PR fixes this and also adds unit tests.
Browse files
Changed paths3 files
First-parent comparison
M packages/react-devtools-shared/src/__tests__/utils-test.js ModifiedM packages/react-devtools-shared/src/backend/utils.js ModifiedM packages/react-devtools-shared/src/hook.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…