nuxt / devtools

Unleash Nuxt Developer Experience
https://devtools.nuxt.com
MIT License
2.85k stars 153 forks source link

fix: remove unnecessary line + open devtools calling twice `syncClient` #584

Closed ManUtopiK closed 7 months ago

ManUtopiK commented 7 months ago

This pull request removes the line mentioned in #583 and fix the open issue. In fact, the watchEffect in FrameBox.vue trigger when the state.value.open change and it will sync the client throw the getIframe() function. So, setting the state.value.open line 68 is enough to open the devtools.