fix: window.DisableAnimatedMan as boolean (#62)

* fix: window.DisableAnimatedMan as boolean

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: hamster1963 <hamster1963@users.noreply.github.com>
This commit is contained in:
仓鼠andhamster1963 authored and GitHub committed 2024-12-19 21:54:24 +08:00
1 parent 90e8e4b620
commit 5ad915c973
2 files changed
+98 -98

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ export default function Header() {
const navigate = useNavigate()
// @ts-expect-error DisableAnimatedMan is a global variable
const disableAnimatedMan = window.DisableAnimatedMan === true
const disableAnimatedMan = window.DisableAnimatedMan as boolean
return isDesktop ? (
<header className="flex pt-8 px-4 dark:bg-black/40 bg-muted border-b-[1px] overflow-visible">