Fix Field ctor

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-03-29 23:16:57 +01:00
parent 19aae087e0
commit 55c2d98571

View file

@ -69,8 +69,8 @@ export default class Field extends React.PureComponent {
// All other props pass through to the <input>. // All other props pass through to the <input>.
}; };
constructor() { constructor(props) {
super(); super(props);
this.state = { this.state = {
valid: undefined, valid: undefined,
feedback: undefined, feedback: undefined,