fix
Desc: - Perubahan minor
This commit is contained in:
@@ -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> */}
|
||||
|
||||
Reference in New Issue
Block a user