aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/components
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-12-05 15:26:02 -0800
committerAnton Tananaev <anton@traccar.org>2022-12-05 15:26:02 -0800
commit376255707d7b21503a752dfcc4bd9b3f6623e908 (patch)
tree7b1fc0dea79f23fe665f510c8a75409d0bcec386 /modern/src/common/components
parentd29ef83a3a4828d3d8b696ff5933770e85bdcf2c (diff)
downloadtrackermap-web-376255707d7b21503a752dfcc4bd9b3f6623e908.tar.gz
trackermap-web-376255707d7b21503a752dfcc4bd9b3f6623e908.tar.bz2
trackermap-web-376255707d7b21503a752dfcc4bd9b3f6623e908.zip
Fix geofence creation
Diffstat (limited to 'modern/src/common/components')
-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}>