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. --- .../PaginationCursor/PaginationCursor.tsx | 43 ---------------------- 1 file changed, 43 deletions(-) delete mode 100644 src/components/PaginationCursor/PaginationCursor.tsx (limited to 'src/components/PaginationCursor/PaginationCursor.tsx') diff --git a/src/components/PaginationCursor/PaginationCursor.tsx b/src/components/PaginationCursor/PaginationCursor.tsx deleted file mode 100644 index d64f961..0000000 --- a/src/components/PaginationCursor/PaginationCursor.tsx +++ /dev/null @@ -1,43 +0,0 @@ -import { useIntl } from 'react-intl'; -import styles from './PaginationCursor.module.scss'; - -const PaginationCursor = ({ - current, - total, -}: { - current: number; - total: number; -}) => { - const intl = useIntl(); - - return ( -
-
- {intl.formatMessage( - { - defaultMessage: - '{articlesCount, plural, =0 {# loaded articles} one {# loaded article} other {# loaded articles}} out of a total of {total}', - description: 'PaginationCursor: loaded articles count message', - id: 'du4MLN', - }, - { articlesCount: current, total } - )} -
- -
- ); -}; - -export default PaginationCursor; -- cgit v1.2.3