title: auto
des: auto note:auto
This commit is contained in:
@@ -106,6 +106,7 @@ export default function HomeView() {
|
|||||||
}, []);
|
}, []);
|
||||||
async function loadProfile() {
|
async function loadProfile() {
|
||||||
const data = await getProfile();
|
const data = await getProfile();
|
||||||
|
|
||||||
setProfile(data);
|
setProfile(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -129,14 +130,14 @@ export default function HomeView() {
|
|||||||
|
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// 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 (
|
||||||
<>
|
<>
|
||||||
@@ -158,7 +159,7 @@ export default function HomeView() {
|
|||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
|
|
||||||
<Text>
|
<Text>
|
||||||
Welcome to ,{" "}
|
Welcome to I,{" "}
|
||||||
{token?.username ? token?.username : <Loader size={"xs"} />}
|
{token?.username ? token?.username : <Loader size={"xs"} />}
|
||||||
</Text>
|
</Text>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|||||||
Reference in New Issue
Block a user