This reverts commit fc62241332.
This commit is contained in:
committed by
GitHub
parent
fc62241332
commit
9730a4f55d
@@ -50,9 +50,7 @@ export const updatePathWithQueryParams = (path) => {
|
||||
};
|
||||
|
||||
export const getAllPossibleQueryParams = (locationURl = null) => {
|
||||
const urlParams = locationURl
|
||||
? QueryString.parseUrl(locationURl, { decode: false }).query
|
||||
: QueryString.parse(window.location.search, { decode: false });
|
||||
const urlParams = locationURl ? QueryString.parseUrl(locationURl).query : QueryString.parse(window.location.search);
|
||||
const params = {};
|
||||
Object.entries(urlParams).forEach(([key, value]) => {
|
||||
if (AUTH_PARAMS.indexOf(key) > -1) {
|
||||
|
||||
Reference in New Issue
Block a user