From 109c28468b3266cf9815e63ce135f134b384d781 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Sat, 8 Jul 2023 15:30:56 +0800 Subject: /🦴FIX MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/TRPG-home/PackBenchmarksGraph.tsx | 27 +++++++++++----------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'docs/components/pages/TRPG-home/PackBenchmarksGraph.tsx') diff --git a/docs/components/pages/TRPG-home/PackBenchmarksGraph.tsx b/docs/components/pages/TRPG-home/PackBenchmarksGraph.tsx index 8215ee7..489553a 100644 --- a/docs/components/pages/TRPG-home/PackBenchmarksGraph.tsx +++ b/docs/components/pages/TRPG-home/PackBenchmarksGraph.tsx @@ -17,6 +17,7 @@ import { BenchmarkData, BenchmarkNumberOfModules, } from "./PackBenchmarks"; +import HydroRoll from "../../logos/HydroRoll"; interface BenchmarksGraphProps { category: BenchmarkCategory; @@ -56,9 +57,9 @@ export function BenchmarksGraph({ return ( + } duration={data[bar.key] * 1000} longestTime={longestTimeWithPadding} @@ -93,14 +94,14 @@ const graphBarWrapperVariants = { }; function GraphBar({ - turbo, + core, duration, longestTime, inView, Label, pinTime, }: { - turbo?: boolean; + core?: boolean; duration: number; longestTime: number; Label: JSX.Element; @@ -191,8 +192,8 @@ function GraphBar({ @@ -217,17 +218,17 @@ function GraphBar({ } const GraphTimer = ({ - turbo, + core, timer, duration, }: { - turbo: boolean; + core: boolean; timer: number; duration: number; }) => { return (
- {turbo && ( + {core && (
HydroRollTRPG

{label}

- {turbo && ( + {core && (