aboutsummaryrefslogtreecommitdiff
path: root/modern/src/UserPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/UserPage.js')
-rw-r--r--modern/src/UserPage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/UserPage.js b/modern/src/UserPage.js
index 81e3389..98b9b41 100644
--- a/modern/src/UserPage.js
+++ b/modern/src/UserPage.js
@@ -20,7 +20,7 @@ const UserPage = () => {
const [item, setItem] = useState();
return (
- <EditItemView endpoint="users" setItem={setItem} getItem={() => item}>
+ <EditItemView endpoint="users" item={item} setItem={setItem}>
{item &&
<>
<Accordion defaultExpanded>