fix jwt in web (#545)

This commit is contained in:
zxhlyh
2023-07-11 17:07:52 +08:00
committed by GitHub
parent d49ac1e4ac
commit 9af0da4450
2 changed files with 4 additions and 2 deletions

View File

@@ -310,7 +310,8 @@ const Main: FC<IMainProps> = ({
}
const fetchInitData = async () => {
await checkOrSetAccessToken()
if (!isInstalledApp)
await checkOrSetAccessToken()
return Promise.all([isInstalledApp
? {