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]);
const [listPorto, setListPorto] = useAtom(gs_ListPortofolio);
useShallowEffect(() => {
getListPorto(profile?.id);
}, [profile?.id]);
async function getListPorto(id: string) {
const data = await getListPortofolio(id);
setListPorto(data);
}
// const [listPorto, setListPorto] = useAtom(gs_ListPortofolio);
// useShallowEffect(() => {
// getListPorto(profile?.id);
// }, [profile?.id]);
// async function getListPorto(id: string) {
// const data = await getListPortofolio(id);
// setListPorto(data);
// }
return (
<>