We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa6ce68 commit 0c01245Copy full SHA for 0c01245
apps/webapp/app/components/MachineLabelCombo.tsx
@@ -54,10 +54,6 @@ export function formatMachinePresetName(preset?: MachinePresetName | null): stri
54
case "large-2x":
55
return "Large 2x";
56
default:
57
- // Fallback for any unknown presets - capitalize first letter and replace hyphens with spaces
58
- return (preset as string)
59
- .split("-")
60
- .map((word: string) => word.charAt(0).toUpperCase() + word.slice(1))
61
- .join(" ");
+ return preset;
62
}
63
0 commit comments