feat: [VAN-1291] add recommendation page (#743)
This commit is contained in:
@@ -49,8 +49,8 @@ export const updatePathWithQueryParams = (path) => {
|
||||
return `${path}${queryParams}`;
|
||||
};
|
||||
|
||||
export const getAllPossibleQueryParams = () => {
|
||||
const urlParams = QueryString.parse(window.location.search);
|
||||
export const getAllPossibleQueryParams = (locationURl = null) => {
|
||||
const urlParams = QueryString.parse(locationURl || window.location.search);
|
||||
const params = {};
|
||||
Object.entries(urlParams).forEach(([key, value]) => {
|
||||
if (AUTH_PARAMS.indexOf(key) > -1) {
|
||||
|
||||
Reference in New Issue
Block a user