Skip to content

Commit

Permalink
Refactor GPU sorting logic in pricing page (#102)
Browse files Browse the repository at this point in the history
Refactor GPU sorting logic in pricing page #102
  • Loading branch information
dharamveergit authored Jan 15, 2025
1 parent 663ac56 commit e23b2df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/pricing-page/gpus/sort.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit e23b2df

Please sign in to comment.