ordering-ui-react-native 0.18.45 → 0.18.46

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.18.45",
3
+ "version": "0.18.46",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -393,7 +393,7 @@ const SignupFormUI = (props: SignupParams) => {
393
393
  vibrateApp()
394
394
  return
395
395
  }
396
- formState.result?.result && showToast(ToastType.Error, formState.result?.result[0]);
396
+ formState.result?.result && showToast(ToastType.Error, t(`${formState.result?.result[0]}`, 'Phone number already used'));
397
397
  formState.result?.result && vibrateApp()
398
398
  setIsLoadingVerifyModal(false);
399
399
  }