mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 07:08:10 +00:00
[web] Fix line breaking in StringSequenceOption.
This commit is contained in:
parent
c2f0b94fb7
commit
cbf5db9a4f
@ -95,7 +95,7 @@ function StringSequenceOption({ value, onChange, ...props }) {
|
||||
return <textarea
|
||||
rows={height}
|
||||
value={value.join('\n')}
|
||||
onChange={e => onChange(e.target.value.split("\n").filter(x => x.trim()))}
|
||||
onChange={e => onChange(e.target.value.split("\n"))}
|
||||
{...props}
|
||||
/>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user