Fixes by hand
This commit is contained in:
1 parent
891a1a9503
commit
ec6906a5c3
3 files changed
+4
-4
No files matched your search
@@ -10,7 +10,7 @@ export const Bluetooth = (): JSX.Element => {
|
||||
useState<string>();
|
||||
|
||||
const bluetoothPinChangeEvent = (e: React.ChangeEvent<HTMLInputElement>) => {
|
||||
if (e.target.value[0] == "0") {
|
||||
if (e.target.value[0] === "0") {
|
||||
setBluetoothValidationText("Bluetooth Pin cannot start with 0.");
|
||||
} else {
|
||||
setBluetoothValidationText("");
|
||||
|
||||
Reference in new issue
Block a user