From 1e80342c41f610f9de6739be6255c5ac6dc9415b Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sun, 2 Jun 2024 12:00:59 -0500 Subject: [PATCH] UI tweaks and bugfixes (#11692) * UI tweaks and bugfixes * fix linter complaints in unmodified files --- web/src/components/dynamic/NewReviewData.tsx | 8 +++++--- .../components/overlay/SaveExportOverlay.tsx | 9 ++++++--- .../components/timeline/segment-metadata.tsx | 10 ++++++++++ web/src/hooks/use-draggable-element.ts | 6 ++++++ web/src/views/events/EventView.tsx | 15 ++++++++++----- web/src/views/live/LiveDashboardView.tsx | 18 +++++++++++++----- web/src/views/system/GeneralMetrics.tsx | 2 +- 7 files changed, 51 insertions(+), 17 deletions(-) diff --git a/web/src/components/dynamic/NewReviewData.tsx b/web/src/components/dynamic/NewReviewData.tsx index f600a85e9..d77e64203 100644 --- a/web/src/components/dynamic/NewReviewData.tsx +++ b/web/src/components/dynamic/NewReviewData.tsx @@ -2,6 +2,7 @@ import { ReviewSegment } from "@/types/review"; import { Button } from "../ui/button"; import { LuRefreshCcw } from "react-icons/lu"; import { MutableRefObject, useMemo } from "react"; +import { cn } from "@/lib/utils"; type NewReviewDataProps = { className: string; @@ -29,11 +30,12 @@ export default function NewReviewData({
)}
-
+
{statsHistory.length != 0 ? (
GPU Usage