Skip to content

Commit

Permalink
🐛 Remove estimated time once data is saved
Browse files Browse the repository at this point in the history
  • Loading branch information
Androz2091 committed Jun 19, 2021
1 parent d327b29 commit 14b8f62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/Loader.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@
const extractStartAt = Date.now();
extractData(files).then((extractedData) => {
loading = false;
data.set(extractedData)
data.set(extractedData);
loadTask.set(null);
loadEstimatedTime.set(null);
console.log(`[debug] Data extracted in ${(Date.now() - extractStartAt) / 1000} seconds.`);
navigate('/stats');
}).catch((err) => {
Expand Down

0 comments on commit 14b8f62

Please sign in to comment.