From a402b7665d2c30a3402e754b27ab03145ef691bd Mon Sep 17 00:00:00 2001 From: Bagasbanuna02 Date: Fri, 6 Oct 2023 16:34:47 +0800 Subject: [PATCH] title: auto des: auto note:auto --- src/app_modules/home/view.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app_modules/home/view.tsx b/src/app_modules/home/view.tsx index 694a1940..505e5ef0 100644 --- a/src/app_modules/home/view.tsx +++ b/src/app_modules/home/view.tsx @@ -109,14 +109,14 @@ export default function HomeView() { setProfile(data); } - 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);