hey-pharmacist-ecommerce 1.1.22 → 1.1.23
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/providers/EcommerceProvider.tsx +16 -16
package/dist/index.js
CHANGED
|
@@ -7463,7 +7463,7 @@ function useBasePath() {
|
|
|
7463
7463
|
return ctx;
|
|
7464
7464
|
}
|
|
7465
7465
|
function EcommerceProvider({ config, children, withToaster = true, basePath = "" }) {
|
|
7466
|
-
|
|
7466
|
+
React8__default.default.useMemo(() => {
|
|
7467
7467
|
initializeApiAdapter(config);
|
|
7468
7468
|
}, [config]);
|
|
7469
7469
|
const [client] = React8__default.default.useState(
|