mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
web: reset importer on pressing "Start over"
This commit is contained in:
committed by
Abdullah Atta
parent
f832aba1a4
commit
0216867fa9
@@ -81,6 +81,8 @@ export function Importer() {
|
||||
variant="secondary"
|
||||
sx={{ alignSelf: "center" }}
|
||||
onClick={async () => {
|
||||
setErrors([]);
|
||||
setFiles([]);
|
||||
setIsDone(false);
|
||||
setIsImporting(false);
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user