@bytebrand/fe-ui-core 4.1.74 → 4.1.75

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": "@bytebrand/fe-ui-core",
3
- "version": "4.1.74",
3
+ "version": "4.1.75",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -119,7 +119,7 @@ const RangeControlled = ({
119
119
  value:from ? numberWithDot(from) : null,
120
120
  label: `${t('filters.from')} ${unit ? unit : '€'}`,
121
121
  onChange: (value: any) => onDropDownChange('from', value),
122
- items: getOptions(sliceLessThan(getDropdownRange(name), to))
122
+ items: getOptions(sliceLessThan(getDropdownRange(name), to)),
123
123
  };
124
124
 
125
125
  const toProps = {
@@ -144,5 +144,6 @@ const RangeControlled = ({
144
144
 
145
145
  export default memo(RangeControlled, (prevProps: any, nextProps: any) => {
146
146
  return prevProps.controls.from === nextProps.controls.from &&
147
- prevProps.controls.to === nextProps.controls.to;
147
+ prevProps.controls.to === nextProps.controls.to &&
148
+ prevProps.t === nextProps.t;
148
149
  });