Desc:
- Perubahan minor
This commit is contained in:
2023-10-06 13:33:59 +08:00
parent 8188728e6a
commit cc3aad4e86
12 changed files with 274 additions and 167 deletions

View File

@@ -36,6 +36,7 @@ import { useAtom } from "jotai";
import { gs_token } from "./state/global_state";
import { loadDataProfile } from "../katalog/profile/fun/fun_get_profile";
import { gs_profile } from "../katalog/profile/state/global_state";
import { loadListPortofolio } from "../katalog/portofolio/fun/fun_get_all_portofolio";
const listHalaman = [
{
@@ -98,6 +99,11 @@ export default function HomeView() {
loadDataProfile(setProfile);
}, []);
// const [listPorto, setListPorto] = useState<any | null>(null);
// useShallowEffect(() => {
// loadListPortofolio(profile?.id).then((res) => setListPorto(res));
// }, [profile?.id]);
return (
<>
{/* <pre>{JSON.stringify(profile, null, 2)}</pre> */}