Skip to content

Commit e9f6ff7

Browse files
author
vvo
committed
fix(Selector): render a controlled component
1 parent 5bb38f2 commit e9f6ff7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/components/Selector.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ class Selector extends React.Component {
55
this.handleChange = this.handleChange.bind(this);
66
}
77

8-
shouldComponentUpdate() {
9-
return false;
10-
}
11-
128
handleChange(event) {
139
this.props.setValue(event.target.value);
1410
}

0 commit comments

Comments
 (0)