contentoh-components-library 21.5.81 → 21.5.82
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.
|
@@ -21,7 +21,7 @@ var _react = require("react");
|
|
|
21
21
|
|
|
22
22
|
var _axios = _interopRequireDefault(require("axios"));
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _providerProductEdition = require("../components/pages/RetailerProductEdition/context/provider-product-edition.context");
|
|
25
25
|
|
|
26
26
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
27
27
|
|
|
@@ -48,7 +48,7 @@ var AiProductEditionProvider = function AiProductEditionProvider(_ref) {
|
|
|
48
48
|
token = _ref$token === void 0 ? "" : _ref$token;
|
|
49
49
|
var isCreators = isCreatorsEdition;
|
|
50
50
|
|
|
51
|
-
var _useProviderProductEd = (0,
|
|
51
|
+
var _useProviderProductEd = (0, _providerProductEdition.useProviderProductEdition)(),
|
|
52
52
|
state = _useProviderProductEd.state;
|
|
53
53
|
|
|
54
54
|
var productSelected = state.product;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import { useContext, useEffect, useState } from "react";
|
|
|
2
2
|
import { createContext } from "react";
|
|
3
3
|
import axios from "axios";
|
|
4
4
|
|
|
5
|
-
import { useProviderProductEdition } from "../components/pages/RetailerProductEdition/context/provider-product-edition.context
|
|
5
|
+
import { useProviderProductEdition } from "../components/pages/RetailerProductEdition/context/provider-product-edition.context";
|
|
6
6
|
|
|
7
7
|
export const AiProductEdition = createContext();
|
|
8
8
|
|