Removing white spaces from provided values (#2922)

This commit is contained in:
Cesar Celis Hernandez
2023-07-31 22:29:11 -06:00
committed by GitHub
parent 4387b2149f
commit 0d628f589a

View File

@@ -98,6 +98,7 @@ const ConfTargetGeneric = ({
const setValueElement = (key: string, value: string, index: number) => {
const valuesDup = [...valueHolder];
value = value.trim();
valuesDup[index] = { key, value };
setValueHolder(valuesDup);