diff --git a/frontend/components/TrendingUser.tsx b/frontend/components/TrendingUser.tsx index 88af776a..de02aef8 100644 --- a/frontend/components/TrendingUser.tsx +++ b/frontend/components/TrendingUser.tsx @@ -2,13 +2,14 @@ import React from 'react'; import {Image, StyleSheet, Text, View} from 'react-native'; import { Trending } from '../types/types'; -import { TrendingUp, TrendingDown } from '@mui/icons-material'; +import { FontAwesome } from '@expo/vector-icons'; type TrendingUserProps = { trending: Trending; } const TrendingUser: React.FC = ({ trending }: TrendingUserProps) => { + console.log(trending) return ( {/* Column for image */} @@ -34,14 +35,14 @@ const TrendingUser: React.FC = ({ trending }: TrendingUserPro - { + {/* { trending.day_gain_pct > 0 ? ( - + ) : ( - + ) - } + } */} {trending.day_gain_pct}% diff --git a/frontend/package.json b/frontend/package.json index dd92e291..b2583a70 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -18,6 +18,7 @@ "@clerk/types": "^3.62.1", "@emotion/styled": "^11.11.5", "@expo/ngrok": "^2.5.0", + "@expo/vector-icons": "^13.0.0", "@mui/icons-material": "^5.15.15", "@mui/material": "^5.15.15", "@react-native-community/slider": "^4.5.0", diff --git a/frontend/reducers/onboarding/onboardingReducer.ts b/frontend/reducers/onboarding/onboardingReducer.ts index d0150442..bb6dc5b7 100644 --- a/frontend/reducers/onboarding/onboardingReducer.ts +++ b/frontend/reducers/onboarding/onboardingReducer.ts @@ -13,7 +13,7 @@ const onboardingSlice = createSlice({ financialGoalsShortTerm: [], financialGoalsLongTerm: [], financialLiteracy: [], - isOnboarding: 'onboarding', // 'onboarding', 'normal', 'makingPost' + isOnboarding: 'normal', // 'onboarding', 'normal', 'makingPost' }, reducers: { updateFirstName(state, action) { diff --git a/frontend/yarn.lock b/frontend/yarn.lock index eea7a71c..6048683b 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -1951,6 +1951,11 @@ dependencies: cross-spawn "^7.0.3" +"@expo/vector-icons@^13.0.0": + version "13.0.0" + resolved "https://registry.yarnpkg.com/@expo/vector-icons/-/vector-icons-13.0.0.tgz#e2989b85e95a82bce216f88cf8fb583ab050ec95" + integrity sha512-TI+l71+5aSKnShYclFa14Kum+hQMZ86b95SH6tQUG3qZEmLTarvWpKwqtTwQKqvlJSJrpFiSFu3eCuZokY6zWA== + "@expo/vector-icons@^14.0.0": version "14.0.0" resolved "https://registry.yarnpkg.com/@expo/vector-icons/-/vector-icons-14.0.0.tgz#48ce0aa5c05873b07c0c78bfe16c870388f4de9a"