title: auto
des: auto note:auto
This commit is contained in:
@@ -143,15 +143,20 @@ export default function HomeView({ user }: { user: USER_PROFILE }) {
|
|||||||
h={100}
|
h={100}
|
||||||
withBorder
|
withBorder
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (stateUser.Profile === null) {
|
// if (stateUser.Profile === null) {
|
||||||
return toast("Lengkapi Profile Anda !");
|
// return toast("Lengkapi Profile Anda !");
|
||||||
} else {
|
// } else {
|
||||||
|
// if (e.link === "") {
|
||||||
|
// toast(e.name);
|
||||||
|
// } else {
|
||||||
|
// return router.push(e.link);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
if (e.link === "") {
|
if (e.link === "") {
|
||||||
toast(e.name);
|
toast(e.name);
|
||||||
} else {
|
} else {
|
||||||
return router.push(e.link);
|
return router.push(e.link);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Flex
|
<Flex
|
||||||
|
|||||||
Reference in New Issue
Block a user