From 1511ee1def2445d566aef648fda08804e0fb1c97 Mon Sep 17 00:00:00 2001 From: daniel31x13 Date: Thu, 21 Dec 2023 05:11:26 -0500 Subject: [PATCH] minor change --- components/LinkViews/Layouts/CardView.tsx | 2 +- components/LinkViews/Layouts/GridView.tsx | 2 +- pages/links/index.tsx | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/components/LinkViews/Layouts/CardView.tsx b/components/LinkViews/Layouts/CardView.tsx index bc684c5..409d8ae 100644 --- a/components/LinkViews/Layouts/CardView.tsx +++ b/components/LinkViews/Layouts/CardView.tsx @@ -1,7 +1,7 @@ import LinkCard from "@/components/LinkViews/LinkCard"; import { LinkIncludingShortenedCollectionAndTags } from "@/types/global"; -export default function DefaultGridView({ +export default function CardView({ links, }: { links: LinkIncludingShortenedCollectionAndTags[]; diff --git a/components/LinkViews/Layouts/GridView.tsx b/components/LinkViews/Layouts/GridView.tsx index bd701bf..1cdbd35 100644 --- a/components/LinkViews/Layouts/GridView.tsx +++ b/components/LinkViews/Layouts/GridView.tsx @@ -1,7 +1,7 @@ import LinkGrid from "@/components/LinkViews/LinkGrid"; import { LinkIncludingShortenedCollectionAndTags } from "@/types/global"; -export default function CompactGridView({ +export default function GridView({ links, }: { links: LinkIncludingShortenedCollectionAndTags[]; diff --git a/pages/links/index.tsx b/pages/links/index.tsx index 40fa141..40d59f1 100644 --- a/pages/links/index.tsx +++ b/pages/links/index.tsx @@ -9,6 +9,7 @@ import { Sort, ViewMode } from "@/types/global"; import ViewDropdown from "@/components/ViewDropdown"; import CardView from "@/components/LinkViews/Layouts/CardView"; import ListView from "@/components/LinkViews/Layouts/ListView"; +// import GridView from "@/components/LinkViews/Layouts/GridView"; export default function Links() { const { links } = useLinkStore();