Skip to content

Commit

Permalink
remove unnecessary code for destroying and removing component element…
Browse files Browse the repository at this point in the history
… in Vue suggestion.js
  • Loading branch information
bdbch committed Jul 31, 2024
1 parent 0408bf8 commit 9c3d51a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions demos/src/Nodes/Mention/Vue/suggestion.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ export default {
onKeyDown(props) {
if (props.event.key === 'Escape') {
component.destroy()
component.element.remove()

return true
}
Expand All @@ -79,7 +78,6 @@ export default {

onExit() {
component.destroy()
component.element.remove()
},
}
},
Expand Down

0 comments on commit 9c3d51a

Please sign in to comment.