diff --git a/src/utils.tsx b/src/utils.tsx index af8a92e3221d41a2f78b42191bb65f30b5adbcf1..756de8c72504af9d6440c7c38e6c9576f4ad4d10 100644 --- a/src/utils.tsx +++ b/src/utils.tsx @@ -17,7 +17,7 @@ export const useAccessToken: any = () => { console.log('useAccessToken', identity) const data = identity?.data?.data - if (data?.access_token == null) { + if (data?.accessToken == null) { return null }