fix: don't render stuff we don't support

This commit is contained in:
zkldi
2022-12-21 10:32:22 +00:00
parent 690338215d
commit 8d62806587
@@ -278,7 +278,11 @@ function ImportTypeInfoCard({
importType,
}: {
importType: FileUploadImportTypes | APIImportTypes;
}): JSX.Element {
}): JSX.Element | null {
if (TachiConfig.importTypes.includes(importType)) {
return null;
}
switch (importType) {
case "api/arc-sdvx":
return (