diff options
Diffstat (limited to 'modern/src/App.js')
-rw-r--r-- | modern/src/App.js | 2 |
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('/'); |