diff --git a/interface/src/components/upload/SingleUpload.tsx b/interface/src/components/upload/SingleUpload.tsx index 09cd22fc1..9c425e2a3 100644 --- a/interface/src/components/upload/SingleUpload.tsx +++ b/interface/src/components/upload/SingleUpload.tsx @@ -32,7 +32,7 @@ function LinearProgressWithLabel(props: LinearProgressProps & { value: number }) ); } -const SingleUpload = ({ callRestart }) => { +const SingleUpload = ({ doRestart }) => { const [md5, setMd5] = useState(); const [file, setFile] = useState(); const { LL } = useI18nContext(); @@ -50,7 +50,7 @@ const SingleUpload = ({ callRestart }) => { toast.success(LL.UPLOAD() + ' MD5 ' + LL.SUCCESSFUL()); setFile(undefined); } else { - callRestart(); + doRestart(); } });