diff --git a/frontend/src/screens/home/home.tsx b/frontend/src/screens/home/home.tsx index dac8e9d..5916bfa 100644 --- a/frontend/src/screens/home/home.tsx +++ b/frontend/src/screens/home/home.tsx @@ -23,25 +23,24 @@ const StyledView = styled(View); export default function HomeScreen({ navigation }: HomeScreenProps) { const { signOut } = useAuth(); - + const userProfile = useInvestorProfile(); const [totalInvested, setTotalInvested] = useState(0); const { portfolio } = useInvestorPortfolio(); - useEffect(() => { if (portfolio) { // Sum up the total invested amount const total = Object.values(portfolio).reduce((sum, value) => sum + value, 0); setTotalInvested(total); } - }) - - return ( - - - - ); + }); + + // return ( + // + // + // + // ); // // {/* Some dummy image */} //