title: auto
des: auto note:auto
This commit is contained in:
@@ -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 (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user