From 1526e4b2fe27bb27a6778d4d13b00b4f7ad18f66 Mon Sep 17 00:00:00 2001 From: thislight Date: Wed, 6 Nov 2024 19:25:21 +0800 Subject: [PATCH] Profile: follower and following counts --- src/profiles/Profile.tsx | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/src/profiles/Profile.tsx b/src/profiles/Profile.tsx index 20dc609..5c00c20 100644 --- a/src/profiles/Profile.tsx +++ b/src/profiles/Profile.tsx @@ -23,6 +23,7 @@ import { IconButton, ListItemAvatar, ListItemIcon, + ListItemSecondaryAction, ListItemText, MenuItem, Toolbar, @@ -38,8 +39,8 @@ import { PlaylistAdd, Send, Share, - SmartToy, SmartToySharp, + Subject, Translate, Verified, } from "@suid/icons-material"; @@ -295,7 +296,23 @@ const Profile: Component = () => { - Subscribers + Followers + + + {profile()?.followersCount ?? ""} + + + + + + + + Following + + + {profile()?.followingCount ?? ""} + + @@ -303,12 +320,6 @@ const Profile: Component = () => { Blocklist - - - - - Translate Name and Bio... -