Update localstorage

This commit is contained in:
Pranav
2024-10-03 11:20:26 -07:00
parent e0bf2bd9d4
commit b85099ea66
4 changed files with 11 additions and 12 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
import Cookies from 'js-cookie';
import { DEFAULT_REDIRECT_URL } from 'dashboard/constants/globals';
import { frontendURL } from 'dashboard/helper/URLHelper';
import { LocalStorage } from 'shared/helpers/localStorage';
export const hasAuthCookie = () => {
return !!Cookies.get('cw_d_session_info');
return !!LocalStorage.get('cw_d_session_info');
};
const getSSOAccountPath = ({ ssoAccountId, user }) => {