mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 20:13:49 +00:00
Remove Layout in page components, used in _app
This fixes a glitch where the theme change button would stop working on client route change.
This commit is contained in:
@@ -18,7 +18,7 @@ const DesktopLinks: FC = () => {
|
||||
<Link tabIndex={0} href={page.slug}>
|
||||
<span
|
||||
className={`text-lg uppercase ${
|
||||
currentURL === page.slug ? 'font-extrabold' : 'font-semibold'
|
||||
currentURL === page.slug ? 'font-black' : 'font-medium'
|
||||
} text-primary-content`}
|
||||
>
|
||||
{page.name}
|
||||
|
||||
Reference in New Issue
Block a user