diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-05-24 16:44:29 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-05-24 16:44:29 +0200 |
| commit | 1e982fb02a9967e0efdc76c93a44798a9f2dcb43 (patch) | |
| tree | b9a526ade81feee20cf18404e2a7053ccff6c999 /src/pages/recherche | |
| parent | c347190a4307c172d15dac156da86567098035f6 (diff) | |
chore: add a search form when posts list prints no results
Diffstat (limited to 'src/pages/recherche')
| -rw-r--r-- | src/pages/recherche/index.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pages/recherche/index.tsx b/src/pages/recherche/index.tsx index ffdbf44..dbbec55 100644 --- a/src/pages/recherche/index.tsx +++ b/src/pages/recherche/index.tsx @@ -189,6 +189,7 @@ const SearchPage: NextPageWithLayout<SearchPageProps> = ({ isLoading={isLoadingMore || isLoadingInitialData} loadMore={loadMore} posts={getPostsList(data)} + searchPage="/recherche/" showLoadMoreBtn={hasNextPage} total={totalArticles || 0} /> |
