Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Novout committed May 4, 2022
1 parent 1201af5 commit d03806f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/better-write-app/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,14 @@
</template>

<script setup lang="ts">
import { onBeforeUnmount } from 'vue'
import { useStart } from '@/use/start'
import { useDestroy } from '@/use/destroy'
import { LoggerPlugin } from 'better-write-plugin-logger'
import { ThemePlugin } from 'better-write-plugin-theme'
import { PDFPlugin } from 'better-write-plugin-pdf'
import { DocxPlugin } from 'better-write-plugin-docx'
import { TxtPlugin } from 'better-write-plugin-txt'
const start = useStart()
const destroy = useDestroy()
start.init([
LoggerPlugin(),
Expand All @@ -23,8 +20,4 @@
DocxPlugin(),
TxtPlugin(),
])
onBeforeUnmount(async () => {
await destroy.init()
})
</script>

0 comments on commit d03806f

Please sign in to comment.