From 31e15f798c896d39d5f345a817989215a9faae25 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 9 Mar 2022 17:33:55 -0800 Subject: [PATCH] chore: Remove unused DocumentList component --- app/components/DocumentList.tsx | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 app/components/DocumentList.tsx diff --git a/app/components/DocumentList.tsx b/app/components/DocumentList.tsx deleted file mode 100644 index bca9e7d18..000000000 --- a/app/components/DocumentList.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import ArrowKeyNavigation from "boundless-arrow-key-navigation"; -import * as React from "react"; -import Document from "~/models/Document"; -import DocumentListItem from "~/components/DocumentListItem"; - -type Props = { - documents: Document[]; - limit?: number; - showCollection?: boolean; - showPublished?: boolean; - showPin?: boolean; - showDraft?: boolean; - showTemplate?: boolean; -}; - -export default function DocumentList({ limit, documents, ...rest }: Props) { - const items = limit ? documents.splice(0, limit) : documents; - return ( - - {items.map((document) => ( - - ))} - - ); -}