Skip to content

Commit 922b1b4

Browse files
committed
fix:returns wrong dates onChange when manually change date time without pressing OK button
1 parent bc2c3a1 commit 922b1b4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/utils/miscUtil.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ export function fillIndex<T extends any[]>(ori: T, index: number, value: T[numbe
2626
return clone;
2727
}
2828

29-
export function fillRangeValues<T extends any[]>(ori: T, start: T[number], end: T[number]): T {
30-
const clone = [...ori] as T;
31-
[clone[0], clone[1]] = [start, end];
32-
33-
return clone;
34-
}
3529
/** Pick props from the key list. Will filter empty value */
3630
export function pickProps<T extends object>(props: T, keys?: (keyof T)[] | readonly (keyof T)[]) {
3731
const clone = {} as T;

0 commit comments

Comments
 (0)