mitigate hydration error due to invalid html (Link nesting)

This commit is contained in:
2022-12-11 13:55:21 +01:00
parent 1cae9250d3
commit 2e0bc5852b

View File

@@ -21,7 +21,7 @@ const Navigation = () => {
</Link>
);
})}
<Link href="" className={`${styles.dropdown} ${styles.mobile}`}>
<div tabIndex={0} className={`${styles.dropdown} ${styles.mobile}`}>
<GractwoLogo width={48} height={48} />
nawigacja
{/* TUTAJ WSTAWIĆ IKONKĘ PÓŹNIEJ */}
@@ -38,7 +38,7 @@ const Navigation = () => {
);
})}
</div>
</Link>
</div>
<Link
href=""
style={{ display: "flex" }}