EditProfile: Fix error about uncontrolled components
This commit is contained in:
@ -36,7 +36,7 @@ const mapStateToProps = state => {
|
||||
// Forces fields to be MAX_SIZE, filling empty values
|
||||
const normalizeFields = fields => (
|
||||
ImmutableList(fields).setSize(MAX_FIELDS).map(field =>
|
||||
field ? field : ImmutableMap({ name: undefined, value: undefined })
|
||||
field ? field : ImmutableMap({ name: '', value: '' })
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user