diff --git a/src/components/Articles/Search/Search.js b/src/components/Articles/Search/Search.js index 654c276..b2ec79d 100644 --- a/src/components/Articles/Search/Search.js +++ b/src/components/Articles/Search/Search.js @@ -10,7 +10,6 @@ const Search = ({ allArticles, filterArticles, articlesLength, resultsLength, qu setQuery('') return null } - navigate(`/articles/?search=${query.trim()}`) setQuery(query) setFiltredArticles(filterArticles(allArticles)) diff --git a/src/styles/global.scss b/src/styles/global.scss index 5763a7c..88c05b5 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -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;