Skip to content

Commit

Permalink
Remove unused OnMount function
Browse files Browse the repository at this point in the history
  • Loading branch information
misike12 committed Oct 12, 2024
1 parent 66a4eae commit 8655557
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ export default {
// default
threshold:300
})
onMounted(() => {
const viewer = new Viewer(document.querySelector('body'), {
selector: 'img:not(.no-viewer)'
});
});
},

setup() {
Expand Down

0 comments on commit 8655557

Please sign in to comment.