Fix: Remove unused viewerCount prop from ProfileSidebar and update related code

- Removed viewerCount from ProfileSidebarProps and component parameters
- Commented out viewerCount usage in ProfileSidebar component
- Updated import statement to exclude unused icons
- Removed viewerCount prop from StreamPage component instances in $username.tsx
This commit is contained in:
Nikita
2025-12-25 10:10:42 -08:00
parent 95f4270f9a
commit 9aecbab8a9
4 changed files with 68 additions and 14 deletions
-2
View File
@@ -265,7 +265,6 @@ function StreamPage() {
<ProfileSidebar
user={profileUser}
isLive={isActuallyLive}
viewerCount={stream?.viewer_count ?? 0}
>
<CommentBox username={username} />
</ProfileSidebar>
@@ -336,7 +335,6 @@ function StreamPage() {
<ProfileSidebar
user={profileUser}
isLive={isActuallyLive}
viewerCount={stream?.viewer_count ?? 0}
/>
</div>
</div>