Skip to content

Nk assets creation #6922

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ storybook-static
.aider*

tsconfig.tsbuildinfo
.cursor
.cursor
6 changes: 3 additions & 3 deletions apps/dashboard/src/@/components/blocks/SidebarLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function RenderSidebarGroup(props: {

return (
<SidebarMenu className="gap-1.5">
{sidebarLinks.map((link) => {
{sidebarLinks.map((link, idx) => {
if ("href" in link) {
return (
<SidebarMenuItem key={link.href}>
Expand All @@ -137,14 +137,14 @@ function RenderSidebarGroup(props: {
}

if ("separator" in link) {
return <SidebarSeparator className="my-1" />;
return <SidebarSeparator className="my-1" key={`separator-${idx}`} />;
}

return (
<RenderSidebarGroup
sidebarLinks={link.links}
groupName={link.group}
key={link.group}
key={link.group || `group-${idx}`}
/>
);
})}
Expand Down
Loading
Loading