Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: remove list errors

Marc Seitzc02105ed3847
diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx
index e7504f1a..00b0d8a4 100644
--- a/components/Sidebar.tsx
+++ b/components/Sidebar.tsx
@@ -172,9 +172,8 @@ export const SidebarComponent = ({ className }: { className?: string }) => {
{navigation.map((item) => {
if (item.name === "Documents") {
return (
- <>
+ <div key={item.name}>
<button
- key={item.name}
onClick={() => router.push(item.href)}
disabled={item.disabled}
className={cn(
@@ -193,7 +192,7 @@ export const SidebarComponent = ({ className }: { className?: string }) => {
{item.name}
</button>
{item.active ? <SiderbarFolders /> : null}
- </>
+ </div>
);
}
return (