@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.
- package/Standard/Standard.tsx +2 -2
- package/package.json +1 -1
package/Standard/Standard.tsx
CHANGED
|
@@ -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.
|
|
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.
|
|
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
|
}
|