diff --git a/src/utils/common/key.ts b/src/utils/common/key.ts index ecd680b74..2ffa4cc6b 100644 --- a/src/utils/common/key.ts +++ b/src/utils/common/key.ts @@ -16,5 +16,5 @@ export const getActualKey = async () => { } export const getToken = () => { - return getData(LS_KEYS.USER).token; + return getData(LS_KEYS.USER)?.token; }