Skip to content

Commit ffb27d1

Browse files
authored
fix: ignore inspect toggle events
1 parent aea036f commit ffb27d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/runtime.ts

+1
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)