geido commented on a change in pull request #14546:
URL: https://github.com/apache/superset/pull/14546#discussion_r629532942
##########
File path: superset-frontend/src/datasource/ChangeDatasourceModal.tsx
##########
@@ -107,7 +107,7 @@ const ChangeDatasourceModal:
FunctionComponent<ChangeDatasourceModalProps> = ({
const [filter, setFilter] = useState<any>(undefined);
const [confirmChange, setConfirmChange] = useState(false);
const [confirmedDataset, setConfirmedDataset] = useState<Datasource>();
- let searchRef = useRef<HTMLInputElement>(null);
+ const searchRef = useRef<any>(null);
Review comment:
Not sure what is causing the use of any here, but is there any chance
that we can use anything more spefic?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]