aboutsummaryrefslogtreecommitdiff
path: root/modern/src/UserPage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-09-27 21:54:39 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-09-27 21:54:39 -0700
commit236b10503612706ed914678d942ac604f2973f47 (patch)
treee557381dbdc721002346a0fc64b1a679280fa3f1 /modern/src/UserPage.js
parent96af05dbf2171c4e194cf67c3c93d134ef467e50 (diff)
downloadtrackermap-web-236b10503612706ed914678d942ac604f2973f47.tar.gz
trackermap-web-236b10503612706ed914678d942ac604f2973f47.tar.bz2
trackermap-web-236b10503612706ed914678d942ac604f2973f47.zip
Implement notification settings
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 81e33893..98b9b414 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>