This commit is contained in:
2025-02-07 10:13:46 +08:00
parent 46a4c9a288
commit 19a9f438a8
5 changed files with 7 additions and 7 deletions

View File

@@ -85,7 +85,7 @@ export default function HomeViewNew() {
<ActionIcon radius={"xl"} variant={"transparent"}>
<IconUserSearch color={MainColor.white} />
</ActionIcon>
) : dataUser?.profile === undefined ? (
) : dataUser && dataUser?.profile === undefined ? (
<ActionIcon
radius={"xl"}
variant={"transparent"}
@@ -112,7 +112,7 @@ export default function HomeViewNew() {
<ActionIcon radius={"xl"} variant={"transparent"}>
<IconBell color={MainColor.white} />
</ActionIcon>
) : dataUser?.profile === undefined ? (
) : dataUser && dataUser?.profile === undefined ? (
<ActionIcon
radius={"xl"}
variant={"transparent"}