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;