@citygross/components 0.8.71 → 0.8.72

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.
@@ -15,7 +15,7 @@ export declare type TPriceTag = {
15
15
  price: number;
16
16
  variant?: EPriceVariant;
17
17
  size?: EPriceSize;
18
- unit: string;
18
+ unit?: string;
19
19
  };
20
20
  export declare type TPriceVariantAttributes = {
21
21
  backgroundColor?: string;
@@ -394,6 +394,9 @@ var useFixedModalScroll = function (active, querySelector) {
394
394
  };
395
395
 
396
396
  function comparisonTypes(type) {
397
+ if (!type) {
398
+ return '';
399
+ }
397
400
  switch (type) {
398
401
  case 'KGM':
399
402
  return 'kg';