Chore: moves localstorage helper as a shared utility (#6838)

* Chore: moves localstorage helper as a shared utility and refactors constants

* Refactors constants file

* Fixes merge conflicts

* Delete constants.js

---------

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
This commit is contained in:
Nithin David Thomas
2023-04-11 15:50:46 +05:30
committed by GitHub
parent 17ff1f11a7
commit 09ce85b30d
29 changed files with 36 additions and 36 deletions

View File

@@ -1,4 +1,4 @@
import { DEFAULT_REDIRECT_URL } from '../constants';
import { DEFAULT_REDIRECT_URL } from 'dashboard/constants/globals';
export const frontendURL = (path, params) => {
const stringifiedParams = params ? `?${new URLSearchParams(params)}` : '';