mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
Fix Field ctor
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
19aae087e0
commit
55c2d98571
@ -69,8 +69,8 @@ export default class Field extends React.PureComponent {
|
||||
// All other props pass through to the <input>.
|
||||
};
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {
|
||||
valid: undefined,
|
||||
feedback: undefined,
|
||||
|
Loading…
Reference in New Issue
Block a user