el.xwx.moe/pages/links.tsx
2023-03-28 11:01:50 +03:30

15 lines
337 B
TypeScript

import LinkList from "@/components/LinkList";
import useLinkStore from "@/store/links";
export default function Links() {
const { links } = useLinkStore();
return (
<div className="p-5 flex flex-col gap-5 w-full">
{links.map((e, i) => {
return <LinkList key={i} link={e} count={i} />;
})}
</div>
);
}