switch between result and results depending on the number of search results

This commit is contained in:
Kim, Jimin 2021-09-08 10:49:01 +09:00
parent 26cd110e39
commit a5c8bd5169

View file

@ -300,7 +300,8 @@ function _Search() {
doSearch()
}}
/>
{postCards.length} results
{postCards.length}{" "}
{postCards.length > 1 ? "results" : "result"}
<h3>Filters</h3>
<StyledReactTagsContainer>
<ThemeConsumer>