diff --git a/frontend/pages/Profile.tsx b/frontend/pages/Profile.tsx index e82f4b9d..f92bfdfb 100644 --- a/frontend/pages/Profile.tsx +++ b/frontend/pages/Profile.tsx @@ -22,6 +22,7 @@ const Profile = () => { const [pageNumber, setPageNumber] = useState(0); const [portfolio, setPortfolio] = useState() const route = useRoute() + const isFollowerProfile = (route.params as ProfileRouteParams)?.user !== undefined; const user = (route.params as ProfileRouteParams)?.user || session!.user!; const OnActivitySelected = () => { @@ -69,7 +70,9 @@ const Profile = () => { - + {!isFollowerProfile && ( + + )}