Skip to content

Conversation

@iamthesiz
Copy link
Collaborator

@iamthesiz iamthesiz commented Apr 17, 2020

Adds onError functionality.

useFetch({
  onError: ({ error }) => {}
})

@iamthesiz iamthesiz marked this pull request as ready for review April 17, 2020 20:32
@iamthesiz iamthesiz merged commit f6d6bc3 into master Apr 17, 2020
@iamthesiz iamthesiz deleted the on-error branch April 17, 2020 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants