Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

minor fix

Yee Jia Weie1f036adb220
diff --git a/components/LinkViews/GridView.tsx b/components/LinkViews/GridView.tsx
index 1b55f26a..04619c7f 100644
--- a/components/LinkViews/GridView.tsx
+++ b/components/LinkViews/GridView.tsx
@@ -1,5 +1,5 @@
import LinkCardGrid from "@/components/LinkViews/LinkComponents/LinkCardGrid";
-import { LinkIncludingShortenedCollectionAndTags } from "@/types/global";
+import {LinkIncludingShortenedCollectionAndTags} from "@/types/global";
export default function CompactGridView({
links,
@@ -10,8 +10,8 @@ export default function CompactGridView({
<div className="columns-1 xl:columns-2 2xl:columns-3 gap-5">
{links.map((e, i) => {
return (
- <div className="break-inside-avoid mb-5">
- <LinkCardGrid key={i} link={e} count={i} />
+ <div key={i} className="break-inside-avoid mb-5">
+ <LinkCardGrid link={e} count={i}/>
</div>
);
})}