From e23b2df52b1dc86d693b18223e68f06afe0b881a Mon Sep 17 00:00:00 2001 From: Dharamveer singh Date: Wed, 15 Jan 2025 21:17:46 +0530 Subject: [PATCH] Refactor GPU sorting logic in pricing page (#102) Refactor GPU sorting logic in pricing page #102 --- src/components/pricing-page/gpus/sort.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/pricing-page/gpus/sort.tsx b/src/components/pricing-page/gpus/sort.tsx index c0f5aa8a..9f62ba01 100644 --- a/src/components/pricing-page/gpus/sort.tsx +++ b/src/components/pricing-page/gpus/sort.tsx @@ -11,7 +11,7 @@ const publishingOptions = [ ]; export const onTop = (res?: Gpus) => { - const onTop = ["h100", "h200", "a100"]; + const onTop = ["h200", "h100", "a100"]; const filtered = res?.models ?.filter((model) => onTop?.includes(model?.model)) .sort((a, b) => onTop.indexOf(a?.model) - onTop.indexOf(b?.model));