aboutsummaryrefslogtreecommitdiff
path: root/modern/src/DevicePage.js
diff options
context:
space:
mode:
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>