Fix all ESLint errors
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-28 12:25:04 +01:00
parent 3bf8859ff9
commit f5202f596d
21 changed files with 74 additions and 44 deletions

View File

@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
import React from "react";
import { TextInput } from "./TextInput";
@ -32,7 +33,7 @@ export function IPInputWithMask(p: {
const currValue =
p.ipAndMask ??
(p.ip ?? "") + (p.mask || showSlash.current ? "/" : "") + (p.mask ?? "");
`${p.ip ?? ""}${p.mask || showSlash.current ? "/" : ""}${p.mask ?? ""}`;
const { onValueChange, ...props } = p;
return (