From 5e133e94fd57090fceac689793583380df8b0487 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 21 Dec 2022 15:46:24 -0800 Subject: Fix address updates --- modern/src/common/components/AddressValue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modern/src/common') 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 }); -- cgit v1.2.3