()
| 57 | } |
| 58 | |
| 59 | function NoSearchResults() { |
| 60 | const { t } = useTranslation('search') |
| 61 | return ( |
| 62 | <div className="d-flex flex-items-center flex-column my-6 border rounded-2"> |
| 63 | <div className="d-flex flex-items-center flex-column p-4"> |
| 64 | <SearchIcon size={24} /> |
| 65 | <Text className="f2 mt-3">{t('n_results').replace('{n}', 0)}</Text> |
| 66 | </div> |
| 67 | </div> |
| 68 | ) |
| 69 | } |
| 70 | |
| 71 | function SearchResultHit({ |
| 72 | hit, |
nothing calls this directly
no test coverage detected