This commit is contained in:
Sergey Yarkov 2020-07-15 20:11:03 +03:00
parent 3c38f7672e
commit cd900c6aac
2 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,6 @@ const Search = ({ allArticles, filterArticles, articlesLength, resultsLength, qu
setQuery('')
return null
}
navigate(`/articles/?search=${query.trim()}`)
setQuery(query)
setFiltredArticles(filterArticles(allArticles))

View File

@ -160,7 +160,7 @@ html {
body {
font-family: 'Inter', sans-serif;
margin: 0;
margin-top: 122px;
margin-top: 95px;
display: flex;
height: 85%;
flex-direction: column;