Skip to content

Commit

Permalink
Fix params
Browse files Browse the repository at this point in the history
  • Loading branch information
Joozty committed Nov 24, 2020
1 parent 6601691 commit 5d7500c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/data-providers/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ const SearchPage = observe(({ initialState }) => {
)
const setQuery = useCallback(
(q) => {
dataProviders.params.query = q
dataProviders.params.q = q
},
[dataProviders.params.query]
[dataProviders.params.q]
)
const handleUrlChange = useCallback(
(event) => {
Expand Down

0 comments on commit 5d7500c

Please sign in to comment.