chore: fix lint issues
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user