diff options
Diffstat (limited to 'modern/src/UserPage.js')
-rw-r--r-- | modern/src/UserPage.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modern/src/UserPage.js b/modern/src/UserPage.js index da8ba1b6..4b58ba81 100644 --- a/modern/src/UserPage.js +++ b/modern/src/UserPage.js @@ -2,7 +2,7 @@ import React, { useState } from 'react'; import TextField from '@material-ui/core/TextField'; import t from './common/localization'; -import EditPage from './EditPage'; +import EditItemView from './EditItemView'; const UserPage = () => { const [item, setItem] = useState(); @@ -20,7 +20,7 @@ const UserPage = () => { }; return ( - <EditPage endpoint="users" setItem={setItem} getItem={getItem}> + <EditItemView endpoint="users" setItem={setItem} getItem={getItem}> {item && <> <TextField @@ -46,7 +46,7 @@ const UserPage = () => { variant="filled" /> </> } - </EditPage> + </EditItemView> ); } |