@blocklet/payment-react 1.13.273 → 1.13.274

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.
@@ -98,7 +98,7 @@ function StripeCheckoutForm({ clientSecret, intentType, customer, mode, onConfir
98
98
  variant: "contained",
99
99
  color: "primary",
100
100
  size: "large",
101
- children: t("payment.checkout.continue", { action: mode })
101
+ children: t("payment.checkout.continue", { action: t(`payment.checkout.${mode}`) })
102
102
  }
103
103
  ),
104
104
  state.message && /* @__PURE__ */ jsx(Typography, { sx: { mt: 1, color: "error.main" }, children: state.message })
@@ -142,7 +142,7 @@ function StripeCheckoutForm({
142
142
  color: "primary",
143
143
  size: "large",
144
144
  children: t("payment.checkout.continue", {
145
- action: mode
145
+ action: t(`payment.checkout.${mode}`)
146
146
  })
147
147
  }), state.message && /* @__PURE__ */(0, _jsxRuntime.jsx)(_material.Typography, {
148
148
  sx: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/payment-react",
3
- "version": "1.13.273",
3
+ "version": "1.13.274",
4
4
  "description": "Reusable react components for payment kit v2",
5
5
  "keywords": [
6
6
  "react",
@@ -91,7 +91,7 @@
91
91
  "@babel/core": "^7.24.7",
92
92
  "@babel/preset-env": "^7.24.7",
93
93
  "@babel/preset-react": "^7.24.7",
94
- "@blocklet/payment-types": "1.13.273",
94
+ "@blocklet/payment-types": "1.13.274",
95
95
  "@storybook/addon-essentials": "^7.6.19",
96
96
  "@storybook/addon-interactions": "^7.6.19",
97
97
  "@storybook/addon-links": "^7.6.19",
@@ -120,5 +120,5 @@
120
120
  "vite-plugin-babel": "^1.2.0",
121
121
  "vite-plugin-node-polyfills": "^0.21.0"
122
122
  },
123
- "gitHead": "565e708d3d02876ec28c679500fa9a99278bbdc7"
123
+ "gitHead": "e16c193a6fe497c78f6d1b1ccb7627e1ff0224f2"
124
124
  }
@@ -121,7 +121,7 @@ function StripeCheckoutForm({ clientSecret, intentType, customer, mode, onConfir
121
121
  variant="contained"
122
122
  color="primary"
123
123
  size="large">
124
- {t('payment.checkout.continue', { action: mode })}
124
+ {t('payment.checkout.continue', { action: t(`payment.checkout.${mode}`) })}
125
125
  </LoadingButton>
126
126
  )}
127
127
  {state.message && <Typography sx={{ mt: 1, color: 'error.main' }}>{state.message}</Typography>}