We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7759471 commit 3cb8d0bCopy full SHA for 3cb8d0b
packages/overlay/src/App.vue
@@ -55,8 +55,8 @@ const vueInspector = ref()
55
56
onDevToolsConnected(() => {
57
const rpcServer = getRpcServer<typeof functions>()
58
- rpcServer.broadcast.on('toggle-panel', (state = !panelVisible) => {
59
- togglePanelVisible(state)
+ rpcServer.functions.on('toggle-panel', (state = !panelVisible) => {
+ togglePanelVisible(undefined, state)
60
})
61
devtools.ctx.api.getVueInspector().then((inspector) => {
62
vueInspector.value = inspector
0 commit comments