Skip to content

Commit

Permalink
fix: download files feature (#1789)
Browse files Browse the repository at this point in the history
Abort download was being called right after starting to fetch data, 
because if useState receives a function, that function is called to get the final value.
To fix the issue we just wrap the abort function with another function.

Closes #1783
  • Loading branch information
hugomrdias authored May 19, 2021
1 parent b7bf88e commit 66cf28d
Show file tree
Hide file tree
Showing 2 changed files with 170 additions and 218 deletions.
Loading

0 comments on commit 66cf28d

Please sign in to comment.