fix: dark mode toggle

This commit is contained in:
qijizh 2022-07-12 13:49:11 +08:00 committed by GitHub
parent 4bcbe41a39
commit b73d452aee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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" />