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 7ff3a63 commit 1f75ca6Copy full SHA for 1f75ca6
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