Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -55,14 +55,14 @@ const Input = ({ | ... | @@ -55,14 +55,14 @@ const Input = ({ |
55 | return; | 55 | return; |
56 | } | 56 | } |
57 | const params = new URLSearchParams({ query }); | 57 | const params = new URLSearchParams({ query }); |
58 | - history.push(`?${params.toString()}`); | 58 | + history.push(`search?${params.toString()}`); |
59 | } | 59 | } |
60 | }} | 60 | }} |
61 | /> | 61 | /> |
62 | <SearchIconWrap | 62 | <SearchIconWrap |
63 | onClick={() => { | 63 | onClick={() => { |
64 | const params = new URLSearchParams({ query }); | 64 | const params = new URLSearchParams({ query }); |
65 | - history.push(`?${params.toString()}`); | 65 | + history.push(`search?${params.toString()}`); |
66 | }} | 66 | }} |
67 | > | 67 | > |
68 | <SearchBox color="blue" size="50px" display={display} /> | 68 | <SearchBox color="blue" size="50px" display={display} /> | ... | ... |
-
Please register or login to post a comment