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.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/modern/src/DevicePage.js b/modern/src/DevicePage.js
index 14e978ec..7c963b02 100644
--- a/modern/src/DevicePage.js
+++ b/modern/src/DevicePage.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 DevicePage = () => {
const [item, setItem] = useState();
@@ -18,7 +18,7 @@ const DevicePage = () => {
};
return (
- <EditPage endpoint="devices" setItem={setItem} getItem={getItem}>
+ <EditItemView endpoint="devices" setItem={setItem} getItem={getItem}>
{item &&
<>
<TextField
@@ -37,7 +37,7 @@ const DevicePage = () => {
variant="filled" />
</>
}
- </EditPage>
+ </EditItemView>
);
}