We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 280f60f commit c75bdc6Copy full SHA for c75bdc6
packages/compass-components/src/components/drawer-portal.tsx
@@ -291,15 +291,15 @@ export const DrawerAnchor: React.FunctionComponent = ({ children }) => {
291
}
292
293
setAssistantNodes((oldNodes) => {
294
- for (const id of Object.keys(nodes)) {
+ for (const id of Object.keys({ ...nodes, oldNodes })) {
295
if (nodes[id] !== oldNodes[id]) {
296
return nodes;
297
298
299
return oldNodes;
300
});
301
},
302
- [toolbarData, assistantNodes]
+ [toolbarData]
303
);
304
305
return (
0 commit comments