diff --git a/src/app_modules/home/view.tsx b/src/app_modules/home/view.tsx index f0ef46ac..6e4bcf50 100644 --- a/src/app_modules/home/view.tsx +++ b/src/app_modules/home/view.tsx @@ -102,19 +102,19 @@ export default function HomeView() { loadDataProfile(setProfile); }, []); - const [foto, setFoto] = useAtom(gs_fotoProfile); - useShallowEffect(() => { - if (profile?.imagesId === undefined) { - return myConsole("Waiting data"); - } else { - getFotoProfile(profile?.imagesId).then((v) => setFoto(v?.url)); - } - }, [profile?.imagesId]); + // const [foto, setFoto] = useAtom(gs_fotoProfile); + // useShallowEffect(() => { + // if (profile?.imagesId === undefined) { + // return myConsole("Waiting data"); + // } else { + // getFotoProfile(profile?.imagesId).then((v) => setFoto(v?.url)); + // } + // }, [profile?.imagesId]); - const [listPorto, setListPorto] = useAtom(gs_ListPortofolio) - useShallowEffect(() => { - loadListPortofolio(profile?.id).then((res) => setListPorto(res)); - }, [profile?.id]); + // const [listPorto, setListPorto] = useAtom(gs_ListPortofolio) + // useShallowEffect(() => { + // loadListPortofolio(profile?.id).then((res) => setListPorto(res)); + // }, [profile?.id]); return ( <>