fix: resolve typescript compilation errors
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 56s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 56s
This commit is contained in:
@@ -43,7 +43,7 @@ const DateRangePicker: React.FC<DateRangePickerProps> = ({ dateRange, onChange }
|
||||
}
|
||||
};
|
||||
|
||||
const openPicker = (ref: React.RefObject<HTMLInputElement>) => {
|
||||
const openPicker = (ref: React.RefObject<HTMLInputElement | null>) => {
|
||||
if (ref.current) {
|
||||
try {
|
||||
if ('showPicker' in HTMLInputElement.prototype) {
|
||||
|
||||
Reference in New Issue
Block a user