From 7a0b71020f4fdc05976066ca3cc734c08fbf962e Mon Sep 17 00:00:00 2001 From: Kentai Radiquum Date: Sun, 25 Aug 2024 17:25:33 +0500 Subject: [PATCH] style: change profile widgets positions --- .../Profile/Profile.ReleaseRatings.tsx | 4 +- app/pages/Profile.tsx | 42 +++++++++---------- 2 files changed, 21 insertions(+), 25 deletions(-) diff --git a/app/components/Profile/Profile.ReleaseRatings.tsx b/app/components/Profile/Profile.ReleaseRatings.tsx index e5c793d..0629718 100644 --- a/app/components/Profile/Profile.ReleaseRatings.tsx +++ b/app/components/Profile/Profile.ReleaseRatings.tsx @@ -24,14 +24,14 @@ const CarouselTheme = { export const ProfileReleaseRatings = (props: any) => { return ( - +

Оценки

{props.ratings.map((release) => { return (
{ friendsCount={user.friend_count} /> )} + {!user.is_stats_hidden && ( + + )} +
+
{!user.is_stats_hidden && ( - + <> + + + )}
-
- - -
- {/* - {!user.is_stats_hidden && ( -
- -
- )} -
-
*/}
);