Skip to content

Commit

Permalink
fix(overlay): event's key null safety when fill out forms automatical…
Browse files Browse the repository at this point in the history
…ly (#502)
  • Loading branch information
vancepym authored Jul 9, 2024
1 parent 81719c5 commit e10f100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/overlay/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ onDevToolsConnected(() => {
})
addEventListener('keyup', (e) => {
if (e.key.toLowerCase() === 'escape' && vueInspector.value?.enabled) {
if (e.key?.toLowerCase() === 'escape' && vueInspector.value?.enabled) {
vueInspector.value?.disable()
}
})
Expand Down

0 comments on commit e10f100

Please sign in to comment.