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.mjs
CHANGED
|
@@ -7453,7 +7453,7 @@ function useBasePath() {
|
|
|
7453
7453
|
return ctx;
|
|
7454
7454
|
}
|
|
7455
7455
|
function EcommerceProvider({ config, children, withToaster = true, basePath = "" }) {
|
|
7456
|
-
|
|
7456
|
+
React8.useMemo(() => {
|
|
7457
7457
|
initializeApiAdapter(config);
|
|
7458
7458
|
}, [config]);
|
|
7459
7459
|
const [client] = React8.useState(
|