You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/05/10 17:19:47 UTC

[GitHub] [superset] geido commented on a change in pull request #14546: refactor: Bootstrap to AntD - Form - iteration 4

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org