@lmnto/h-mall-shared 1.0.18 → 1.0.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lmnto/h-mall-shared",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "private": false,
5
5
  "sideEffects": false,
6
6
  "scripts": {
@@ -7,6 +7,7 @@ import gen3BannerImage from "../../public/img/gen3-image.png";
7
7
  import smartPayChoseIcon from "../../public/img/smart-pay-chose.png";
8
8
  import smartPayEasyIcon from "../../public/img/smart-pay-easy.png";
9
9
  import smartPayPaymentIcon from "../../public/img/smart-pay-payment.png";
10
+ import { CATEGORY_FOR_SUBSCRIPTION } from "../constants/app";
10
11
  import { FeatureCodes } from "../constants/feature-flags";
11
12
  import { useMainContext } from "../contexts/MainWrapperContext";
12
13
  import CustomNextImage from "./CustomNextImage";
@@ -287,7 +288,7 @@ export default function HomeBanners({
287
288
 
288
289
  <SubscriptionBanner
289
290
  callback={() => {
290
- onCategoryChange("license");
291
+ onCategoryChange(CATEGORY_FOR_SUBSCRIPTION);
291
292
  }}
292
293
  isSubscriptionActive={isSubscriptionActive}
293
294
  />