Skip to content

Commit

Permalink
Fix params
Browse files Browse the repository at this point in the history
  • Loading branch information
Joozty committed Dec 7, 2020
1 parent 6b193b7 commit b61e356
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 b61e356

Please sign in to comment.