We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37e918e commit 2ae2122Copy full SHA for 2ae2122
2 files changed
packages/react-devtools-shared/src/__tests__/store-test.js
@@ -3669,6 +3669,6 @@ describe('Store', () => {
3669
`);
3670
style = document.head.querySelector('style');
3671
styleID = agent.getIDForHostInstance(style).id;
3672
- expect(store.containsElement(styleID)).toBe(false);
+ expect(store.containsElement(styleID)).toBe(true);
3673
});
3674
packages/react-devtools-shared/src/backend/fiber/renderer.js
@@ -991,8 +991,8 @@ function releaseHostResource(
991
// eslint-disable-next-line no-for-of-loops/no-for-of-loops
992
for (const firstInstance of resourceInstances) {
993
publicInstanceToDevToolsInstanceMap.set(
994
+ publicInstance,
995
firstInstance,
- nearestInstance,
996
);
997
break;
998
}
0 commit comments