fix: resolve typescript compilation errors
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 56s

This commit is contained in:
Cauê Faleiros
2026-05-04 15:02:29 -03:00
parent cb538fb79e
commit 9d8779ede3
4 changed files with 4 additions and 4 deletions

View File

@@ -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) {