Prevent layout shift on page load (#2268)
- prevent layout shift on page load
This commit is contained in:
@ -50,6 +50,7 @@ const NavCollapseButton = ({
|
||||
return (
|
||||
<>
|
||||
<StyledCollapseButton
|
||||
initial={{ opacity: show ? 1 : 0 }}
|
||||
animate={{
|
||||
opacity: show ? 1 : 0,
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user