styles: format code with prettier

This commit is contained in:
AprilNEA
2024-10-02 18:22:21 +00:00
parent fc38a42587
commit dfd6764320
4 changed files with 24 additions and 31 deletions

View File

@@ -134,7 +134,7 @@ export const UpdatePort = ({ portId }: Props) => {
if (value === "") {
field.onChange(0);
} else {
field.onChange(parseInt(value, 10));
field.onChange(Number.parseInt(value, 10));
}
}}
/>

View File

@@ -228,10 +228,7 @@ export const AddDomain = ({
<FormItem>
<FormLabel>Container Port</FormLabel>
<FormControl>
<NumberInput
placeholder={"3000"}
{...field}
/>
<NumberInput placeholder={"3000"} {...field} />
</FormControl>
<FormMessage />
</FormItem>