You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your location.search = '?debug=true&tabs=Q1' for example and you history.push(location) where location.query = {debug: 'true'} it will successfully remove the tabs=Q1 part of the queryString. But if you have location.search = '?tabs=Q1' and you history push a location object where query = {} it won't change the URL at all.
If your
location.search = '?debug=true&tabs=Q1'
for example and you history.push(location) wherelocation.query = {debug: 'true'}
it will successfully remove thetabs=Q1
part of the queryString. But if you havelocation.search = '?tabs=Q1'
and you history push a location object wherequery = {}
it won't change the URL at all.I believe the issue stems from this line right here: /~https://github.com/rackt/history/blob/master/modules/useQueries.js#L56
The text was updated successfully, but these errors were encountered: