feat: add journals
This commit is contained in:
@@ -87,11 +87,11 @@ export function MobileNav({
|
||||
</h3>
|
||||
)}
|
||||
<div className="flex flex-col gap-0.5">
|
||||
{group.items.map((item) => {
|
||||
{group.items.map((item, ii) => {
|
||||
if (item.isParent) {
|
||||
return (
|
||||
<div
|
||||
key={item.slug}
|
||||
key={`${gi}-${ii}`}
|
||||
className="px-2 py-1.5 text-xs font-bold text-muted-foreground mt-2"
|
||||
>
|
||||
{item.label}
|
||||
@@ -103,7 +103,7 @@ export function MobileNav({
|
||||
const isChild = item.parentChapter != null && !item.isParent;
|
||||
|
||||
return (
|
||||
<DrawerClose key={item.slug} asChild>
|
||||
<DrawerClose key={`${gi}-${ii}`} asChild>
|
||||
<Link
|
||||
href={item.href}
|
||||
className={cn(
|
||||
|
||||
Reference in New Issue
Block a user