no more blinking
This commit is contained in:
parent
d0295a69bc
commit
a9223dbeb0
|
@ -56,9 +56,6 @@ const Navigation = ({ mode }) => {
|
||||||
<Link to="/" className={classnames("flex flex-shrink-0 items-center")}>
|
<Link to="/" className={classnames("flex flex-shrink-0 items-center")}>
|
||||||
{mode === "dark" && <LogoWhiteText className="h-8 desktop:h-10" />}
|
{mode === "dark" && <LogoWhiteText className="h-8 desktop:h-10" />}
|
||||||
{mode === "light" && <LogoBlackText className="h-8 desktop:h-10" />}
|
{mode === "light" && <LogoBlackText className="h-8 desktop:h-10" />}
|
||||||
<span className="bg-white text-xxs p-1 tabular-nums">
|
|
||||||
{isWindowTop} {mode}
|
|
||||||
</span>
|
|
||||||
</Link>
|
</Link>
|
||||||
<div className="ml-auto flex items-center desktop:hidden z-10">
|
<div className="ml-auto flex items-center desktop:hidden z-10">
|
||||||
<button
|
<button
|
||||||
|
|
Reference in New Issue