title: auto

des: auto
note:auto
This commit is contained in:
2023-10-06 16:31:50 +08:00
parent 669680320f
commit 06dd68af4d

View File

@@ -119,14 +119,14 @@ export default function HomeView() {
}, [profile?.imagesId]); }, [profile?.imagesId]);
const [listPorto, setListPorto] = useAtom(gs_ListPortofolio); // const [listPorto, setListPorto] = useAtom(gs_ListPortofolio);
useShallowEffect(() => { // useShallowEffect(() => {
getListPorto(profile?.id); // getListPorto(profile?.id);
}, [profile?.id]); // }, [profile?.id]);
async function getListPorto(id: string) { // async function getListPorto(id: string) {
const data = await getListPortofolio(id); // const data = await getListPortofolio(id);
setListPorto(data); // setListPorto(data);
} // }
return ( return (
<> <>