chore: fix lint issues

This commit is contained in:
xingyu4j
2026-03-15 16:35:34 +08:00
parent 9ddb899a1a
commit ab3e6bb37c
13 changed files with 9 additions and 19 deletions

View File

@@ -41,7 +41,7 @@ const bindProps = computed(() => {
function toggleTheme(event: MouseEvent) {
const isAppearanceTransition =
// @ts-expect-error: startViewTransition is not available in the current DOM lib target
// @ts-expect-error - startViewTransition is not available in the current DOM lib target
document.startViewTransition &&
!window.matchMedia('(prefers-reduced-motion: reduce)').matches;
if (!isAppearanceTransition || !event) {