aboutsummaryrefslogtreecommitdiff
path: root/modern/src/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/App.js')
-rw-r--r--modern/src/App.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/App.js b/modern/src/App.js
index 1d7b2cae..e12a2e78 100644
--- a/modern/src/App.js
+++ b/modern/src/App.js
@@ -68,7 +68,7 @@ const App = () => {
if (response.ok) {
const items = await response.json();
if (items.length > 0) {
- dispatch(devicesActions.select(items[0]));
+ dispatch(devicesActions.select(items[0].id));
}
}
history.push('/');