mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-04 04:30:06 +00:00
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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user