We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46557de commit 3d76afbCopy full SHA for 3d76afb
components/Header/Hamburger.component.jsx
@@ -97,8 +97,13 @@ const Hamburger = () => {
97
id="mobile-li"
98
className="w-full p-4 border-t border-gray-400 border-solid rounded"
99
>
100
- <Link href={href}>
101
- <a className="inline-block px-4 py-2 no-underline hover:text-black hover:underline">
+ <Link href={href} passHref>
+ <a
102
+ className="inline-block px-4 py-2 no-underline hover:text-black hover:underline"
103
+ onClick={() => {
104
+ setisExpanded((prevExpanded) => !prevExpanded);
105
+ }}
106
+ >
107
{title}
108
</a>
109
</Link>
0 commit comments