mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: comment HLTB
This commit is contained in:
parent
b0876b93ed
commit
19cb7c0627
2 changed files with 5 additions and 6 deletions
|
@ -43,7 +43,7 @@ export function GameDetailsSkeleton() {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className={sidebarStyles.contentSidebar}>
|
<div className={sidebarStyles.contentSidebar}>
|
||||||
<div className={sidebarStyles.contentSidebarTitle}>
|
{/* <div className={sidebarStyles.contentSidebarTitle}>
|
||||||
<h3>HowLongToBeat</h3>
|
<h3>HowLongToBeat</h3>
|
||||||
</div>
|
</div>
|
||||||
<ul className={sidebarStyles.howLongToBeatCategoriesList}>
|
<ul className={sidebarStyles.howLongToBeatCategoriesList}>
|
||||||
|
@ -53,7 +53,7 @@ export function GameDetailsSkeleton() {
|
||||||
className={sidebarStyles.howLongToBeatCategorySkeleton}
|
className={sidebarStyles.howLongToBeatCategorySkeleton}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
</ul>
|
</ul> */}
|
||||||
<div
|
<div
|
||||||
className={sidebarStyles.contentSidebarTitle}
|
className={sidebarStyles.contentSidebarTitle}
|
||||||
style={{ border: "none" }}
|
style={{ border: "none" }}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import { useContext, useEffect, useState } from "react";
|
import { useContext, useEffect, useState } from "react";
|
||||||
import { HowLongToBeatSection } from "./how-long-to-beat-section";
|
|
||||||
import type { HowLongToBeatCategory, SteamAppDetails } from "@types";
|
import type { HowLongToBeatCategory, SteamAppDetails } from "@types";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import { Button } from "@renderer/components";
|
import { Button } from "@renderer/components";
|
||||||
|
@ -10,7 +9,7 @@ import { useFormat } from "@renderer/hooks";
|
||||||
import { DownloadIcon, PeopleIcon } from "@primer/octicons-react";
|
import { DownloadIcon, PeopleIcon } from "@primer/octicons-react";
|
||||||
|
|
||||||
export function Sidebar() {
|
export function Sidebar() {
|
||||||
const [howLongToBeat, setHowLongToBeat] = useState<{
|
const [_howLongToBeat, setHowLongToBeat] = useState<{
|
||||||
isLoading: boolean;
|
isLoading: boolean;
|
||||||
data: HowLongToBeatCategory[] | null;
|
data: HowLongToBeatCategory[] | null;
|
||||||
}>({ isLoading: true, data: null });
|
}>({ isLoading: true, data: null });
|
||||||
|
@ -42,10 +41,10 @@ export function Sidebar() {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<aside className={styles.contentSidebar}>
|
<aside className={styles.contentSidebar}>
|
||||||
<HowLongToBeatSection
|
{/* <HowLongToBeatSection
|
||||||
howLongToBeatData={howLongToBeat.data}
|
howLongToBeatData={howLongToBeat.data}
|
||||||
isLoading={howLongToBeat.isLoading}
|
isLoading={howLongToBeat.isLoading}
|
||||||
/>
|
/> */}
|
||||||
|
|
||||||
{stats && (
|
{stats && (
|
||||||
<>
|
<>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue