This commit is contained in:
Ilya Ig. Petrov 2017-05-25 04:08:51 -07:00
parent 4014f777e0
commit 61eceb7115

View File

@ -169,7 +169,6 @@ export default function getProxyEditor(theState) {
handleAdd(that, event) { handleAdd(that, event) {
console.log('ADD');
const form = event.target; const form = event.target;
const elements = Array.from(form.elements).reduce((acc, el, index) => { const elements = Array.from(form.elements).reduce((acc, el, index) => {
@ -182,7 +181,6 @@ export default function getProxyEditor(theState) {
const hostname = elements.hostname; const hostname = elements.hostname;
const port = elements.port; const port = elements.port;
console.log('AA', type, hostname, port);
that.props.updateProxyStringRaw( that.props.updateProxyStringRaw(
`${that.props.proxyStringRaw} ${type} ${hostname}:${port};`.trim() `${that.props.proxyStringRaw} ${type} ${hostname}:${port};`.trim()
); );
@ -191,7 +189,6 @@ export default function getProxyEditor(theState) {
handleSubmit(that, event) { handleSubmit(that, event) {
console.log('SUB');
event.preventDefault(); event.preventDefault();
that.handleAdd(that, event); that.handleAdd(that, event);