From b4deb2c8d3b78d2c6ed92fde22934f5f77a28ba1 Mon Sep 17 00:00:00 2001 From: dharamveergit Date: Tue, 20 Aug 2024 18:39:46 +0530 Subject: [PATCH] fix: gtx to GTX --- src/components/gpu-table/gpu-table.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/gpu-table/gpu-table.tsx b/src/components/gpu-table/gpu-table.tsx index a79c34cb..946ff11b 100644 --- a/src/components/gpu-table/gpu-table.tsx +++ b/src/components/gpu-table/gpu-table.tsx @@ -1,23 +1,21 @@ -import { - QueryClient, - QueryClientProvider, - useQuery, -} from "@tanstack/react-query"; -import axios from "axios"; -import React, { useEffect, useState } from "react"; import { HoverCard, HoverCardContent, HoverCardTrigger, } from "@/components/ui/hover-card"; -import { Info } from "lucide-react"; import { gpus } from "@/utils/api"; +import { + QueryClient, + QueryClientProvider, + useQuery, +} from "@tanstack/react-query"; +import axios from "axios"; import clsx from "clsx"; -import CheckBox from "./checkbox"; +import { Info } from "lucide-react"; +import React from "react"; +import { Skeleton } from "../ui/skeleton"; import Filter, { defaultFilters, type Filters } from "./filter"; import Sort from "./sort"; -import { useStorage } from "@/utils/store"; -import { Skeleton } from "../ui/skeleton"; export interface Gpus { availability: { total: number; available: number }; models: Array<{ @@ -106,6 +104,8 @@ export const modifyModel = (model: string) => { ? "A6000" : model?.includes("rtx") ? model?.replace("rtx", "RTX ").replace("ti", " Ti") + : model?.includes("gtx") + ? model?.replace("gtx", "GTX ").replace("ti", " Ti") : model; };