diff --git a/plugins/scaffolder/src/components/TemplateEditorPage/DryRunResults/DryRunResultsList.tsx b/plugins/scaffolder/src/components/TemplateEditorPage/DryRunResults/DryRunResultsList.tsx index 11031fc50c..df6e8ef5f2 100644 --- a/plugins/scaffolder/src/components/TemplateEditorPage/DryRunResults/DryRunResultsList.tsx +++ b/plugins/scaffolder/src/components/TemplateEditorPage/DryRunResults/DryRunResultsList.tsx @@ -27,7 +27,7 @@ import CheckIcon from '@material-ui/icons/Check'; import DeleteIcon from '@material-ui/icons/Delete'; import DownloadIcon from '@material-ui/icons/GetApp'; import React from 'react'; -import { DryRunResult, useDryRun } from '../DryRunContext'; +import { useDryRun } from '../DryRunContext'; import { downloadBlob } from '../../../lib/download'; const useStyles = makeStyles((theme: BackstageTheme) => ({ @@ -59,10 +59,13 @@ export function DryRunResultsList() { async function downloadResult() { isLoading = true; - await downloadDirectoryContents(result.directoryContents, `dry-run-result-${result.id}.zip`) + await downloadDirectoryContents( + result.directoryContents, + `dry-run-result-${result.id}.zip`, + ); isLoading = false; } - + return (