umwd-components 0.1.430 → 0.1.431
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/dist/node_modules/base64-js/index.js +1 -1
- package/dist/node_modules/ieee754/index.js +1 -1
- package/dist/src/components/e-commerce/checkout/CheckoutForm.js +1 -1
- package/dist/src/components/e-commerce/checkout/Step3.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/e-commerce/checkout/CheckoutForm.tsx +2 -2
- package/src/components/e-commerce/checkout/Step3.tsx +4 -4
package/package.json
CHANGED
|
@@ -287,13 +287,13 @@ function CheckoutForm({ shopUrl = "/shop" }: CheckoutFormProps) {
|
|
|
287
287
|
{/* No product warning, TODO use repeatable component, something we already made '??' */}
|
|
288
288
|
{cartIsEmpty && activeStep != 4 && (
|
|
289
289
|
<Grid item xs={12}>
|
|
290
|
-
<
|
|
290
|
+
<Alert severity="error">
|
|
291
291
|
<Typography variant="h5">No products in cart</Typography>
|
|
292
292
|
<Typography variant="body1">
|
|
293
293
|
There are no products selected to order, please visit the shop
|
|
294
294
|
befor continuing
|
|
295
295
|
</Typography>
|
|
296
|
-
</
|
|
296
|
+
</Alert>
|
|
297
297
|
</Grid>
|
|
298
298
|
)}
|
|
299
299
|
|
|
@@ -47,9 +47,9 @@ function Step3({
|
|
|
47
47
|
<Address data={user.customer_profile.company_address} />
|
|
48
48
|
)}
|
|
49
49
|
{user?.customer_profile?.delivery_address != undefined && (
|
|
50
|
-
<Stack direction={"row"} spacing={2}>
|
|
50
|
+
<Stack direction={"row"} spacing={2} alignItems={"center"}>
|
|
51
51
|
<Checkbox
|
|
52
|
-
checked={prefersDeliveryAddress}
|
|
52
|
+
checked={!prefersDeliveryAddress}
|
|
53
53
|
onChange={togglePrefersDeliveryAddress}
|
|
54
54
|
/>
|
|
55
55
|
<Typography>Use company address instead</Typography>
|
|
@@ -78,9 +78,9 @@ function Step3({
|
|
|
78
78
|
<Address data={user.customer_profile.company_address} />
|
|
79
79
|
)}
|
|
80
80
|
{user?.customer_profile?.billing_address != undefined && (
|
|
81
|
-
<Stack direction={"row"} spacing={2}>
|
|
81
|
+
<Stack direction={"row"} spacing={2} alignItems={"center"}>
|
|
82
82
|
<Checkbox
|
|
83
|
-
checked={prefersBillingAddress}
|
|
83
|
+
checked={!prefersBillingAddress}
|
|
84
84
|
onChange={togglePrefersBillingAddress}
|
|
85
85
|
/>
|
|
86
86
|
<Typography>Use company address instead</Typography>
|