@autobusal/order-process 1.5.2 → 1.5.3

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.
@@ -50,7 +50,7 @@ const Standard = ({ type, hash, t }: Props): JSX.Element => {
50
50
  if (isError) {
51
51
  const message = (error as { response?: { data?: { message?: string } } })?.response?.data?.message;
52
52
 
53
- const reason = message ?? t('order_process.error', { ns: 'common', defaultValue: 'We could not complete your order. Please try again.' });
53
+ const reason = message ?? t('order_process.error_order', { ns: 'common', defaultValue: 'We could not complete your order. Please try again.' });
54
54
 
55
55
  notifyError(reason);
56
56
 
@@ -74,7 +74,7 @@ const Standard = ({ type, hash, t }: Props): JSX.Element => {
74
74
  if (isSuccess) {
75
75
  return (
76
76
  <Container>
77
- <Inline text={ t('order_process.error', { ns: 'common', defaultValue: 'We could not confirm your order. Please open your orders to check its state.' }) } />
77
+ <Inline text={ t('order_process.error_confirm', { ns: 'common', defaultValue: 'We could not confirm your order. Please open your orders to check its state.' }) } />
78
78
  </Container>
79
79
  );
80
80
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/order-process",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts",