@bytebrand/fe-ui-core 4.1.137 → 4.1.139
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
|
@@ -376,6 +376,7 @@ export default memo(VehicleSmallCard, (props, nextProps) => { // shouldComponent
|
|
|
376
376
|
leasing: { monthlyInstallment: lMonthlyInstallment }
|
|
377
377
|
},
|
|
378
378
|
isCarInFavorite,
|
|
379
|
+
statsData,
|
|
379
380
|
compareProps,
|
|
380
381
|
children
|
|
381
382
|
} = props;
|
|
@@ -386,6 +387,7 @@ export default memo(VehicleSmallCard, (props, nextProps) => { // shouldComponent
|
|
|
386
387
|
&& withFinalInstallment === nextProps.price.financing.withFinalInstallment
|
|
387
388
|
&& lMonthlyInstallment === nextProps.price.leasing.monthlyInstallment
|
|
388
389
|
&& isCarInFavorite === nextProps.isCarInFavorite
|
|
390
|
+
&& statsData === nextProps.statsData
|
|
389
391
|
&& _get(compareProps, 'toCompare') === _get(compareProps, 'nextProps.toCompare')
|
|
390
392
|
&& children === nextProps.children;
|
|
391
393
|
});
|
|
@@ -130,7 +130,7 @@ export default function withStats(WrappedComponent: any) {
|
|
|
130
130
|
</span>
|
|
131
131
|
</div> : null}
|
|
132
132
|
{!!totalFavCount ? <div className={favoritesClassName} onClick={onFavoriteClick}>
|
|
133
|
-
<IconSVG name='
|
|
133
|
+
<IconSVG name='star' customDimensions className={favoritesIconClassName} />
|
|
134
134
|
<span>
|
|
135
135
|
{totalFavCount}
|
|
136
136
|
</span>
|