aboutsummaryrefslogtreecommitdiff
path: root/modern/src/DevicePage.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/DevicePage.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/DevicePage.js')
-rw-r--r--modern/src/DevicePage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/DevicePage.js b/modern/src/DevicePage.js
index b531f46b..45eba3fa 100644
--- a/modern/src/DevicePage.js
+++ b/modern/src/DevicePage.js
@@ -53,7 +53,7 @@ const DevicePage = () => {
}, []);
return (
- <EditItemView endpoint="devices" setItem={setItem} getItem={() => item}>
+ <EditItemView endpoint="devices" item={item} setItem={setItem}>
{item &&
<>
<Accordion defaultExpanded>