Skip to content

Commit

Permalink
fix:returns wrong dates onChange when manually change date time witho…
Browse files Browse the repository at this point in the history
…ut pressing OK button
  • Loading branch information
Zyf665 committed Nov 26, 2024
1 parent bc2c3a1 commit 922b1b4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/utils/miscUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ export function fillIndex<T extends any[]>(ori: T, index: number, value: T[numbe
return clone;
}

export function fillRangeValues<T extends any[]>(ori: T, start: T[number], end: T[number]): T {
const clone = [...ori] as T;
[clone[0], clone[1]] = [start, end];

return clone;
}
/** Pick props from the key list. Will filter empty value */
export function pickProps<T extends object>(props: T, keys?: (keyof T)[] | readonly (keyof T)[]) {
const clone = {} as T;
Expand Down

0 comments on commit 922b1b4

Please sign in to comment.