Fix investasi

Deksripsi:
- Fix notifikasi
This commit is contained in:
2024-12-23 07:51:35 +08:00
parent b1d7a565e7
commit 1fac36336c
19 changed files with 1145 additions and 719 deletions

View File

@@ -70,12 +70,12 @@ export default function HomeViewNew() {
variant={"transparent"}
onClick={() => {
if (
dataUser.profile === undefined ||
dataUser?.profile === null
dataUser.profile != undefined ||
dataUser?.profile != null
) {
router.push(RouterProfile.create, { scroll: false });
} else {
router.push(RouterUserSearch.main, { scroll: false });
} else {
router.push(RouterProfile.create, { scroll: false });
}
}}
>
@@ -88,11 +88,9 @@ export default function HomeViewNew() {
disabled={countNtf == null}
onClick={() => {
if (
dataUser.profile === undefined ||
dataUser?.profile === null
dataUser.profile != undefined ||
dataUser?.profile != null
) {
router.push(RouterProfile.create, { scroll: false });
} else {
setCategoryPage("Semua");
router.push(
RouterNotifikasi.categoryApp({ name: "semua" }),
@@ -100,6 +98,8 @@ export default function HomeViewNew() {
scroll: false,
}
);
} else {
router.push(RouterProfile.create, { scroll: false });
}
}}
>