hey-pharmacist-ecommerce 1.1.24 → 1.1.25
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/screens/CheckoutScreen.tsx +1 -1
package/dist/index.js
CHANGED
|
@@ -10365,7 +10365,7 @@ function CheckoutScreen() {
|
|
|
10365
10365
|
} catch (e) {
|
|
10366
10366
|
setShippingRates([]);
|
|
10367
10367
|
setSelectedShippingRateId(null);
|
|
10368
|
-
setShippingRatesError(e?.message || "Failed to fetch shipping rates");
|
|
10368
|
+
setShippingRatesError(e?.response?.data?.message || "Failed to fetch shipping rates");
|
|
10369
10369
|
} finally {
|
|
10370
10370
|
setShippingRatesLoading(false);
|
|
10371
10371
|
}
|