betodealmeida commented on a change in pull request #11936:
URL:
https://github.com/apache/incubator-superset/pull/11936#discussion_r540410160
##########
File path: superset-frontend/src/components/ImportModal/index.tsx
##########
@@ -68,11 +145,11 @@ const ImportChartModal:
FunctionComponent<ImportChartModalProps> = ({
const {
state: { passwordsNeeded },
importResource,
- } = useImportResource<ChartObject>('chart', t('chart'), handleErrorMsg);
+ } = useImportResource<any>(resourceName, resourceLabel, handleErrorMsg);
Review comment:
We actually don't need this, I removed it in
https://github.com/apache/incubator-superset/pull/12003 to avoid having to
rebuild this PR.
----------------------------------------------------------------
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]