Skip to content
Snippets Groups Projects
Commit 635e960b authored by Yusuf Akgül's avatar Yusuf Akgül :hatching_chick:
Browse files

quickfix mobile

parent 4e4b315a
No related branches found
No related tags found
1 merge request!50quickfix mobile
Pipeline #40027 passed
......@@ -80,7 +80,6 @@ export const metadata = {
shortcut: "/favicon-16x16.png",
apple: "/apple-touch-icon.png",
},
manifest: `${siteConfig.url}/site.webmanifest`,
}
export default function RootLayout({
......
......@@ -18,7 +18,7 @@ export const MobileNav = ({ items, user }: { items: SidebarNavItem[], user: User
const visibleItems = user ? items : items.slice(0, 2)
return (
<nav className={`grid h-full max-w-lg grid-cols-${items.length} justify-between mx-auto`}>
<nav className={`grid h-full max-w-lg grid-cols-${visibleItems.length} justify-between mx-auto`}>
{visibleItems.map((item, index) => {
const Icon = Icons[item.icon || "arrowRight"]
if (item.title === "My Profile") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment