Skip to content

Commit

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

Please sign in to comment.