Skip to content

Commit 56f3238

Browse files
committed
wrp: remove unnecessary code
1 parent a395b1a commit 56f3238

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

islands/WrpIframeHost.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,6 @@ export default function WrpIframeHost() {
4747
},
4848
],
4949
]);
50-
useEffect(() => {
51-
// @ts-ignore
52-
// hooking code for getting event from iframe's devtools
53-
window["@pbkit/devtools"] = window.frames[0]["@pbkit/devtools"];
54-
}, []);
5550
const styles = {
5651
main: tw`flex flex-col items-center gap-4 p-4 text-center`,
5752
button: (color: string) =>

0 commit comments

Comments
 (0)