More mobile fixes.
Some checks failed
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled

This commit is contained in:
Mike Cao 2025-10-18 02:20:11 -07:00
parent 9a5604f236
commit ddc7affa6a
6 changed files with 34 additions and 59 deletions

View file

@ -9,7 +9,7 @@ import { MobileMenuButton } from '@/components/input/MobileMenuButton';
export function MobileNav() {
const { formatMessage, labels } = useMessages();
const { websiteId } = useNavigation();
const { websiteId, renderUrl } = useNavigation();
const links = [
{
@ -42,7 +42,7 @@ export function MobileNav() {
<NavButton />
{links.map(link => {
return (
<Link key={link.id} href={link.path}>
<Link key={link.id} href={renderUrl(link.path)}>
<NavMenuItem>
<IconLabel icon={link.icon} label={link.label} />
</NavMenuItem>