Skip to content

Commit

Permalink
fix(editor): revert onmounted hook to start listeners
Browse files Browse the repository at this point in the history
  • Loading branch information
Novout committed Sep 23, 2022
1 parent 4674907 commit f48ac40
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/better-write-app/src/pages/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,8 @@

<script setup lang="ts">
import { useEditor } from '@/use/editor'
import { onMounted } from 'vue'
const editor = useEditor()
onMounted(() => {
editor.init()
})
editor.init()
</script>

0 comments on commit f48ac40

Please sign in to comment.