aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-12-21 15:46:24 -0800
committerAnton Tananaev <anton@traccar.org>2022-12-21 15:46:24 -0800
commit5e133e94fd57090fceac689793583380df8b0487 (patch)
tree1186965624991e136b05da1ed02774f3b37a0f79
parent2f229a57b57a607f29d00ed4037bb82aab40baa1 (diff)
downloadtrackermap-web-5e133e94fd57090fceac689793583380df8b0487.tar.gz
trackermap-web-5e133e94fd57090fceac689793583380df8b0487.tar.bz2
trackermap-web-5e133e94fd57090fceac689793583380df8b0487.zip
Fix address updates
-rw-r--r--modern/src/common/components/AddressValue.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/common/components/AddressValue.js b/modern/src/common/components/AddressValue.js
index 36369c69..827a71de 100644
--- a/modern/src/common/components/AddressValue.js
+++ b/modern/src/common/components/AddressValue.js
@@ -13,7 +13,7 @@ const AddressValue = ({ latitude, longitude, originalAddress }) => {
useEffect(() => {
setAddress(originalAddress);
- }, [originalAddress]);
+ }, [latitude, longitude, originalAddress]);
const showAddress = useCatch(async () => {
const query = new URLSearchParams({ latitude, longitude });