aboutsummaryrefslogtreecommitdiff
path: root/modern/src/Navigation.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/Navigation.js')
-rw-r--r--modern/src/Navigation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/Navigation.js b/modern/src/Navigation.js
index 1e3a37b2..f5b21dd9 100644
--- a/modern/src/Navigation.js
+++ b/modern/src/Navigation.js
@@ -70,7 +70,7 @@ const Navigation = () => {
if (response.ok) {
const items = await response.json();
if (items.length > 0) {
- dispatch(devicesActions.select(items[0].id));
+ dispatch(devicesActions.selectId(items[0].id));
}
} else {
throw Error(await response.text());