diff --git a/src/renderer/src/pages/profile/profile-content/profile-content.tsx b/src/renderer/src/pages/profile/profile-content/profile-content.tsx
index f5511a1e..dd09ed0b 100644
--- a/src/renderer/src/pages/profile/profile-content/profile-content.tsx
+++ b/src/renderer/src/pages/profile/profile-content/profile-content.tsx
@@ -26,8 +26,7 @@ import { Star, ThumbsUp, ThumbsDown, TrashIcon } from "lucide-react";
import type { GameShop } from "@types";
import { DeleteReviewModal } from "@renderer/pages/game-details/modals/delete-review-modal";
import {
- // removed: sectionVariants,
- // removed: chevronVariants,
+
GAME_STATS_ANIMATION_DURATION_IN_MS,
} from "./profile-animations";
import "./profile-content.scss";
@@ -450,145 +449,145 @@ export function ProfileContent() {
{!isLoadingReviews && reviews.length > 0 && (
{reviews.map((review) => {
- const isOwnReview = userDetails?.id === review.user.id;
+ const isOwnReview = userDetails?.id === review.user.id;
- return (
-
-
-
- {formatDistance(
- new Date(review.createdAt),
- new Date(),
- { addSuffix: true }
- )}
-
-
-
- {Array.from({ length: 5 }, (_, index) => (
-
-
-
- ))}
-
+ return (
+
+
+
+ {formatDistance(
+ new Date(review.createdAt),
+ new Date(),
+ { addSuffix: true }
+ )}
-
+
+ {Array.from({ length: 5 }, (_, index) => (
+
+
+
+ ))}
+
+
-
-
-
-
-

-
-
+
+
+
+
+
+
+

+
+
-
-
-
- handleVoteReview(review.id, true)
- }
- disabled={votingReviews.has(review.id)}
- whileHover={{ scale: 1.05 }}
- whileTap={{ scale: 0.95 }}
- >
-
-
-
- {review.upvotes}
-
-
-
+
+
+
+ handleVoteReview(review.id, true)
+ }
+ disabled={votingReviews.has(review.id)}
+ whileHover={{ scale: 1.05 }}
+ whileTap={{ scale: 0.95 }}
+ >
+
+
+
+ {review.upvotes}
+
+
+
-
- handleVoteReview(review.id, false)
- }
- disabled={votingReviews.has(review.id)}
- whileHover={{ scale: 1.05 }}
- whileTap={{ scale: 0.95 }}
- >
-
-
-
- {review.downvotes}
-
-
-
-
-
- {isOwnReview && (
-
- )}
+
+ handleVoteReview(review.id, false)
+ }
+ disabled={votingReviews.has(review.id)}
+ whileHover={{ scale: 1.05 }}
+ whileTap={{ scale: 0.95 }}
+ >
+
+
+
+ {review.downvotes}
+
+
+
-
- );
- })}
-
- )}
+
+ {isOwnReview && (
+
+ )}
+
+
+ );
+ })}
+
+ )}
@@ -621,8 +620,7 @@ export function ProfileContent() {
statsIndex,
libraryGames,
pinnedGames,
- // removed isPinnedCollapsed,
- // removed toggleSection,
+
sortBy,
activeTab,
]);