diff --git a/src/components/Views/AllAuthors.tsx b/src/components/Views/AllAuthors.tsx index 91db2bd3..9afe63b8 100644 --- a/src/components/Views/AllAuthors.tsx +++ b/src/components/Views/AllAuthors.tsx @@ -9,6 +9,7 @@ import styles from '../../styles/AllTopics.module.scss' import { clsx } from 'clsx' import { useSession } from '../../context/session' import { locale } from '../../stores/ui' +import { SearchField } from '../_shared/SearchField' type AllAuthorsPageSearchParams = { by: '' | 'name' | 'shouts' | 'rating' @@ -50,6 +51,11 @@ export const AllAuthorsView = (props: Props) => { return keys }) + // TODO make search + const searchAuthors = (value) => { + let q = value.toLowerCase() + } + const showMore = () => setLimit((oldLimit) => oldLimit + PAGE_SIZE) return ( @@ -72,10 +78,7 @@ export const AllAuthorsView = (props: Props) => { {t('By alphabet')}