@bytebrand/fe-ui-core 4.2.13 → 4.2.14

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.2.13",
3
+ "version": "4.2.14",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -98,6 +98,13 @@ const TimePicker = ({
98
98
  [day, time]
99
99
  );
100
100
 
101
+ useEffect(
102
+ () => {
103
+ onHandleTimestampChange(+new Date(`${new Date(nextWeekDaysFull[day]).toDateString()} ${getTimeRanges()[time].time}`) / 1000);
104
+ },
105
+ [currentDay]
106
+ );
107
+
101
108
  const getHours = (time: string) => {
102
109
  const date = new Date(`${new Date().toDateString()}, ${time}:00`);
103
110
  return date;