From 48775e57fc17f4ca755f0825516c105d045f3582 Mon Sep 17 00:00:00 2001 From: Chubby Granny Chaser Date: Sun, 2 Nov 2025 20:43:59 +0000 Subject: [PATCH] feat: adding reviews to profile --- .../src/pages/profile/profile-content/profile-content.tsx | 3 ++- src/renderer/src/pages/profile/profile-content/reviews-tab.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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 bb6842d7..8176bace 100644 --- a/src/renderer/src/pages/profile/profile-content/profile-content.tsx +++ b/src/renderer/src/pages/profile/profile-content/profile-content.tsx @@ -11,6 +11,7 @@ import { ProfileHero } from "../profile-hero/profile-hero"; import { useAppDispatch, useFormat, useUserDetails } from "@renderer/hooks"; import { setHeaderTitle } from "@renderer/features"; import { useTranslation } from "react-i18next"; +import type { GameShop } from "@types"; import { LockedProfile } from "./locked-profile"; import { ReportProfile } from "../report-profile/report-profile"; import { FriendsBox } from "./friends-box"; @@ -46,7 +47,7 @@ interface UserReview { title: string; iconUrl: string; objectId: string; - shop: string; + shop: GameShop; }; translations: { [key: string]: string; diff --git a/src/renderer/src/pages/profile/profile-content/reviews-tab.tsx b/src/renderer/src/pages/profile/profile-content/reviews-tab.tsx index 9fcea37e..afcc417b 100644 --- a/src/renderer/src/pages/profile/profile-content/reviews-tab.tsx +++ b/src/renderer/src/pages/profile/profile-content/reviews-tab.tsx @@ -1,5 +1,6 @@ import { motion } from "framer-motion"; import { useTranslation } from "react-i18next"; +import type { GameShop } from "@types"; import { ProfileReviewItem } from "./profile-review-item"; import "./profile-content.scss"; @@ -21,7 +22,7 @@ interface UserReview { title: string; iconUrl: string; objectId: string; - shop: string; + shop: GameShop; }; translations: { [key: string]: string;