We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea87df4 commit e385300Copy full SHA for e385300
.vitepress/theme/components/DarkModeSwitch.vue
@@ -1,5 +1,5 @@
1
<template>
2
- <button aria-label="Toggle Theme" class="nav-btn" @click="toggle">
+ <button aria-label="Toggle Theme" class="nav-btn" @click="toggle()">
3
<ri-moon-fill v-show="isDark" />
4
<ri-sun-fill v-show="!isDark" />
5
</button>
0 commit comments