kqito / use-tus

React hooks for resumable file uploads using tus
https://kqito.github.io/use-tus/?path=/story/usetus--basic
MIT License
104 stars 8 forks source link

Fix to pass arguments for `start` and `abort` function #52

Closed kqito closed 2 months ago

kqito commented 2 months ago

Overview

This PR addresses the issue where the shouldTerminate argument was not being passed to the abort function in the use-tus library that is requested in #51

With this fix, calling the abort function with the shouldTerminate argument will work as expected.