Update prettier/eslint
This commit is contained in:
@@ -26,9 +26,7 @@ export default connect(
|
||||
if (target.type === 'checkbox') {
|
||||
target.value = e.target.checked ? 'true' : 'false';
|
||||
} else if (target.type === 'textarea') {
|
||||
e.target.string_array = String(e.target.value)
|
||||
.replace(/\r\n/g, '\n')
|
||||
.split('\n');
|
||||
e.target.string_array = String(e.target.value).replace(/\r\n/g, '\n').split('\n');
|
||||
}
|
||||
props.changed(target);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user