Skip to content

Commit 177503d

Browse files
authored
fix: ignore inspect toggle events (#188)
1 parent 0436889 commit 177503d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/runtime.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ port.onMessage.addListener(({ type, payload }) => {
4646
}
4747

4848
case 'bridge::ext/inspect': {
49+
if (typeof payload === 'string') return;
4950
const current = nodes.get(payload.node.id);
5051
return selected.set(current);
5152
}

0 commit comments

Comments
 (0)