fix: dark mode cannot switch back

This commit is contained in:
qijizh 2022-07-11 17:32:31 +08:00
parent 4bcbe41a39
commit 01eeff561d

View File

@ -44,7 +44,7 @@
</a>
<button
class="flex items-center justify-center w-9 h-9 focus:outline-none"
@click="toggle"
@click="toggle()"
>
<MdiWhiteBalanceSunny v-if="isDark" class="text-yellow-500" />
<MdiMoonWaningCrescent v-else class="text-gray-800" />