Remove outdated user fields

This commit is contained in:
Sacha Weatherstone
2022-08-15 18:34:10 -07:00
parent fb684d1182
commit b6f1234235
4 changed files with 135 additions and 165 deletions
@@ -103,27 +103,6 @@ export const User = (): JSX.Element => {
)}
/>
</FormField>
<TextInputField
label="Transmit Power"
description="This is a description."
hint="dBm"
type="number"
{...register("txPowerDbm", { valueAsNumber: true })}
/>
<TextInputField
label="Antenna Gain"
description="This is a description."
hint="dBi"
type="number"
{...register("antGainDbi", { valueAsNumber: true })}
/>
<TextInputField
label="Antenna Azimuth"
description="This is a description."
hint="°"
type="number"
{...register("antAzimuth", { valueAsNumber: true })}
/>
</Form>
);
};
+1 -10
View File
@@ -1,4 +1,4 @@
import { IsBoolean, IsInt, Length } from "class-validator";
import { IsBoolean, Length } from "class-validator";
import type { Protobuf } from "@meshtastic/meshtasticjs";
@@ -16,13 +16,4 @@ export class UserValidation
@IsBoolean()
isLicensed: boolean;
@IsInt()
txPowerDbm: number;
@IsInt()
antGainDbi: number;
@IsInt()
antAzimuth: number;
}