diff --git a/js/history.js b/js/history.js index 903f2b73..4e8c03c7 100644 --- a/js/history.js +++ b/js/history.js @@ -1,6 +1,7 @@ 'use strict'; import useBasename from 'history/lib/useBasename'; +import useQueries from 'history/lib/useQueries'; import createBrowserHistory from 'history/lib/createBrowserHistory'; import AppConstants from './constants/application_constants'; @@ -8,6 +9,6 @@ import AppConstants from './constants/application_constants'; // Remove the trailing slash if present let baseUrl = AppConstants.baseUrl.replace(/\/$/, ''); -export default useBasename(createBrowserHistory)({ +export default useBasename(useQueries(createBrowserHistory))({ basename: baseUrl });