From 3488601c8482cf18450388813303bb1da823c413 Mon Sep 17 00:00:00 2001 From: Alex Beaman Date: Wed, 1 Nov 2023 17:54:07 +0200 Subject: [PATCH] Oops missed a revert --- src/components/AddressSearch/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AddressSearch/index.js b/src/components/AddressSearch/index.js index e1077a0199cd..3e122e029969 100644 --- a/src/components/AddressSearch/index.js +++ b/src/components/AddressSearch/index.js @@ -307,7 +307,7 @@ function AddressSearch(props) { lng: successData.coords.longitude, address: CONST.YOUR_LOCATION_TEXT, }; - onPress(location); + props.onPress(location); }, (errorData) => { if (!shouldTriggerGeolocationCallbacks.current) {