Skip to content

Commit 1d6b948

Browse files
update
1 parent 2eae505 commit 1d6b948

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ui/react-example/src/components/MainContent/MainContentDiffExampleViewWrapper.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export const MainContentDiffExampleViewWrapper = ({
3636
const reactRoot = createRoot(shadowRoot);
3737
setRoot(reactRoot);
3838
}
39+
return () => setRoot(undefined);
3940
}
4041
}, [shadow]);
4142

0 commit comments

Comments
 (0)