aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modern/src/common/components/StatusCard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/common/components/StatusCard.js b/modern/src/common/components/StatusCard.js
index 7ff5769d..e830776c 100644
--- a/modern/src/common/components/StatusCard.js
+++ b/modern/src/common/components/StatusCard.js
@@ -164,7 +164,7 @@ const StatusCard = ({ deviceId, position, onClose, disableActions, desktopPaddin
} else {
throw Error(await response.text());
}
- }, [navigate]);
+ }, [navigate, position]);
return (
<div className={classes.root}>