web: reset importer on pressing "Start over"

This commit is contained in:
Abdullah Atta
2023-06-23 11:31:41 +05:00
committed by Abdullah Atta
parent f832aba1a4
commit 0216867fa9

View File

@@ -81,6 +81,8 @@ export function Importer() {
variant="secondary"
sx={{ alignSelf: "center" }}
onClick={async () => {
setErrors([]);
setFiles([]);
setIsDone(false);
setIsImporting(false);
}}