{pageMembers === undefined ? (
diff --git a/packages/frontend/core/src/mobile/dialogs/setting/user-profile/index.tsx b/packages/frontend/core/src/mobile/dialogs/setting/user-profile/index.tsx
index 3a6337c3e5..579a32b93a 100644
--- a/packages/frontend/core/src/mobile/dialogs/setting/user-profile/index.tsx
+++ b/packages/frontend/core/src/mobile/dialogs/setting/user-profile/index.tsx
@@ -3,11 +3,7 @@ import { useSignOut } from '@affine/core/components/hooks/affine/use-sign-out';
import { AuthService } from '@affine/core/modules/cloud';
import { GlobalDialogService } from '@affine/core/modules/dialogs';
import { ArrowRightSmallIcon } from '@blocksuite/icons/rc';
-import {
- useEnsureLiveData,
- useLiveData,
- useService,
-} from '@toeverything/infra';
+import { useLiveData, useService } from '@toeverything/infra';
import { type ReactNode } from 'react';
import { UserPlanTag } from '../../../components';
@@ -52,7 +48,7 @@ const BaseLayout = ({
const AuthorizedUserProfile = () => {
const session = useService(AuthService).session;
- const account = useEnsureLiveData(session.account$);
+ const account = useLiveData(session.account$);
const confirmSignOut = useSignOut();
return (
@@ -61,14 +57,14 @@ const AuthorizedUserProfile = () => {
}
- caption={
{account.email}}
+ caption={
{account?.email}}
title={
- {account.label}
+ {account?.label}
}