Skip to content

Commit

Permalink
chore(docs): fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Jun 6, 2022
1 parent 01d5e1e commit f0e68b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/docs/src/components/app/Markdown.vue
Expand Up @@ -6,7 +6,7 @@
// Utilities
import { computed } from 'vue'
import MarkdownIt from 'markdown-it'
import Emoji from 'markdown-it-emoji/bare'
import Emoji from 'markdown-it-emoji/bare.js'
const md = MarkdownIt({
html: true,
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/src/components/app/settings/Theme.vue
Expand Up @@ -59,9 +59,9 @@
const vm = getCurrentInstance()!
const loadTime = performance.timing.domContentLoadedEventEnd - performance.timing.domLoading
function startTransition (val: string) {
const loadTime = performance.timing.domContentLoadedEventEnd - performance.timing.domLoading
if (!loadTime || loadTime > 2000) return
const el: HTMLElement = vm.root.proxy!.$el
Expand Down

0 comments on commit f0e68b1

Please sign in to comment.