ordering-ui-react-native 0.23.51 → 0.23.52

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.23.51",
3
+ "version": "0.23.52",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -353,7 +353,7 @@ export const UserFormDetailsUI = (props: any) => {
353
353
  isDisabled={false}
354
354
  value={
355
355
  formState?.changes[field.code] ??
356
- (user && user?.guest_id ? user?.guest_email : user[field.code]) ??
356
+ (user && user?.guest_id && field.code === 'email' ? user?.guest_email : user[field.code]) ??
357
357
  ''
358
358
  }
359
359
  onChange={(val: any) => {