()
| 4 | import { useTranslation } from 'components/hooks/useTranslation' |
| 5 | |
| 6 | export function NoQuery() { |
| 7 | const { t } = useTranslation(['search']) |
| 8 | const { page } = useMainContext() |
| 9 | |
| 10 | return ( |
| 11 | <> |
| 12 | <Heading as="h1">{page.title}</Heading> |
| 13 | |
| 14 | <Flash variant="danger" sx={{ margin: '2rem' }}> |
| 15 | {t('description')} |
| 16 | </Flash> |
| 17 | </> |
| 18 | ) |
| 19 | } |
nothing calls this directly
no test coverage detected