From 7e16f500cb7bc0cfd8bafbf6bb1555704f771231 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 29 Apr 2022 12:13:34 +0200 Subject: chore: remove old pages, components, helpers and types Since I'm using new components, I will also rewrite the GraphQL queries so it is easier to start from scratch. --- src/components/MetaItems/Topics/Topics.tsx | 37 ------------------------------ 1 file changed, 37 deletions(-) delete mode 100644 src/components/MetaItems/Topics/Topics.tsx (limited to 'src/components/MetaItems/Topics/Topics.tsx') diff --git a/src/components/MetaItems/Topics/Topics.tsx b/src/components/MetaItems/Topics/Topics.tsx deleted file mode 100644 index d5d90f0..0000000 --- a/src/components/MetaItems/Topics/Topics.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import { MetaKind } from '@ts/types/app'; -import { TopicPreview } from '@ts/types/taxonomies'; -import Link from 'next/link'; -import { useIntl } from 'react-intl'; -import { MetaItem } from '..'; - -const Topics = ({ list, kind }: { list: TopicPreview[]; kind: MetaKind }) => { - const intl = useIntl(); - - const getTopics = () => { - return list.map((topic) => { - return ( - - {topic.title} - - ); - }); - }; - - return ( - - ); -}; - -export default Topics; -- cgit v1.2.3