diff --git a/src/components/resistor.js b/src/components/resistor.js index 148cdbb..0866cc0 100644 --- a/src/components/resistor.js +++ b/src/components/resistor.js @@ -36,7 +36,10 @@ class Resistor extends Component { this.state = { borderWidth: 1, - selection: this.findEnd(), + selection: { + start: 0, + end: 0, + } } }