Skip to content

Commit

Permalink
Fix address updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Dec 21, 2022
1 parent 2f229a5 commit 5e133e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modern/src/common/components/AddressValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit 5e133e9

Please sign in to comment.