minor fix
This commit is contained in:
parent
1da960a3cf
commit
e1f036adb2
|
@ -1,5 +1,5 @@
|
||||||
import LinkCardGrid from "@/components/LinkViews/LinkComponents/LinkCardGrid";
|
import LinkCardGrid from "@/components/LinkViews/LinkComponents/LinkCardGrid";
|
||||||
import { LinkIncludingShortenedCollectionAndTags } from "@/types/global";
|
import {LinkIncludingShortenedCollectionAndTags} from "@/types/global";
|
||||||
|
|
||||||
export default function CompactGridView({
|
export default function CompactGridView({
|
||||||
links,
|
links,
|
||||||
|
@ -10,8 +10,8 @@ export default function CompactGridView({
|
||||||
<div className="columns-1 xl:columns-2 2xl:columns-3 gap-5">
|
<div className="columns-1 xl:columns-2 2xl:columns-3 gap-5">
|
||||||
{links.map((e, i) => {
|
{links.map((e, i) => {
|
||||||
return (
|
return (
|
||||||
<div className="break-inside-avoid mb-5">
|
<div key={i} className="break-inside-avoid mb-5">
|
||||||
<LinkCardGrid key={i} link={e} count={i} />
|
<LinkCardGrid link={e} count={i}/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
|
Ŝarĝante…
Reference in New Issue