Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: check if hooks are provided #1

Merged
merged 1 commit into from
Feb 12, 2018
Merged

fix: check if hooks are provided #1

merged 1 commit into from
Feb 12, 2018

Conversation

sqal
Copy link
Contributor

@sqal sqal commented Feb 10, 2018

This fixes a small bug (TypeError: Cannot read property 'error' of undefined) when user does not pass any callbacks to the register function

@yyx990803 yyx990803 merged commit 55276a5 into yyx990803:master Feb 12, 2018
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