chore(examples): make dev tools example reusable

This commit is contained in:
moklick
2024-04-10 14:56:40 +02:00
parent 8491883ee1
commit 961b5a936c
5 changed files with 8 additions and 6 deletions
@@ -100,7 +100,6 @@ export function NodeWrapper<NodeType extends Node>({
useEffect(() => {
if (nodeRef.current && !node.hidden) {
const currNode = nodeRef.current;
if (!initialized || !hasHandleBounds) {
resizeObserver?.unobserve(currNode);
resizeObserver?.observe(currNode);