aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/components/AddressValue.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/common/components/AddressValue.js')
-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 });