diff options
Diffstat (limited to 'modern/src/UserPage.js')
-rw-r--r-- | modern/src/UserPage.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/UserPage.js b/modern/src/UserPage.js index 0fa0918b..dfe8b982 100644 --- a/modern/src/UserPage.js +++ b/modern/src/UserPage.js @@ -33,13 +33,13 @@ const UserPage = () => { <AccordionDetails className={classes.details}> <TextField margin="normal" - defaultValue={item.name} + value={item.name || ''} onChange={event => setItem({...item, name: event.target.value})} label={t('sharedName')} variant="filled" /> <TextField margin="normal" - defaultValue={item.email} + value={item.email || ''} onChange={event => setItem({...item, email: event.target.value})} label={t('userEmail')} variant="filled" /> |