Removing white spaces from provided values (#2922)
This commit is contained in:
committed by
GitHub
parent
4387b2149f
commit
0d628f589a
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user