feat: comment HLTB

This commit is contained in:
Zamitto 2024-09-14 16:57:39 -03:00
parent b0876b93ed
commit 19cb7c0627
2 changed files with 5 additions and 6 deletions

View file

@ -43,7 +43,7 @@ export function GameDetailsSkeleton() {
</div>
</div>
<div className={sidebarStyles.contentSidebar}>
<div className={sidebarStyles.contentSidebarTitle}>
{/* <div className={sidebarStyles.contentSidebarTitle}>
<h3>HowLongToBeat</h3>
</div>
<ul className={sidebarStyles.howLongToBeatCategoriesList}>
@ -53,7 +53,7 @@ export function GameDetailsSkeleton() {
className={sidebarStyles.howLongToBeatCategorySkeleton}
/>
))}
</ul>
</ul> */}
<div
className={sidebarStyles.contentSidebarTitle}
style={{ border: "none" }}

View file

@ -1,5 +1,4 @@
import { useContext, useEffect, useState } from "react";
import { HowLongToBeatSection } from "./how-long-to-beat-section";
import type { HowLongToBeatCategory, SteamAppDetails } from "@types";
import { useTranslation } from "react-i18next";
import { Button } from "@renderer/components";
@ -10,7 +9,7 @@ import { useFormat } from "@renderer/hooks";
import { DownloadIcon, PeopleIcon } from "@primer/octicons-react";
export function Sidebar() {
const [howLongToBeat, setHowLongToBeat] = useState<{
const [_howLongToBeat, setHowLongToBeat] = useState<{
isLoading: boolean;
data: HowLongToBeatCategory[] | null;
}>({ isLoading: true, data: null });
@ -42,10 +41,10 @@ export function Sidebar() {
return (
<aside className={styles.contentSidebar}>
<HowLongToBeatSection
{/* <HowLongToBeatSection
howLongToBeatData={howLongToBeat.data}
isLoading={howLongToBeat.isLoading}
/>
/> */}
{stats && (
<>