Commit 28579326 authored by hewenhao's avatar hewenhao

feat: update

parent 47ea79fb
......@@ -27,7 +27,7 @@ const Tabbar: ForwardRefRenderFunction<TabbarRef, {}> = (_, ref) => {
}
})
if (userInfo.nickName) {
if (!userInfo.nickName) {
return null
}
......
......@@ -19,7 +19,7 @@ const MainPage = () => {
useEffect(() => {
silentLoginDeferred.getPromise().then(() => {
const userInfo = getStorage(StorageKeys.userInfo)
if (!userInfo?.nickName) {
if (userInfo?.nickName) {
setIsDone(true)
}
setIsReady(true)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment