ordering-ui-react-native 0.16.32 → 0.16.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-react-native",
3
- "version": "0.16.32",
3
+ "version": "0.16.33",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -220,9 +220,12 @@ const AddressFormUI = (props: AddressFormParams) => {
220
220
 
221
221
  if (isObjet) {
222
222
  setValue('address', address)
223
- handleChangeInput({ target: { name: 'address', value: address } })
224
223
  googleInput?.current?.setAddressText(address)
225
224
  setLoadingLocation(false)
225
+ updateChanges({
226
+ address: address,
227
+ location: json.results[0].geometry.location
228
+ })
226
229
  return
227
230
  }
228
231