feat: adding reviews to profile

This commit is contained in:
Chubby Granny Chaser
2025-11-02 20:43:59 +00:00
parent fdc3fecd6f
commit 48775e57fc
2 changed files with 4 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;