Skip to content

Commit

Permalink
Fixing grammar error in test file
Browse files Browse the repository at this point in the history
  • Loading branch information
RaneWallin committed Oct 3, 2019
1 parent f02cf23 commit 24b8518
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -758,8 +758,8 @@ function loopError(hook) {
function functionError(hook, fn) {
return {
message:
`React Hook "${hook}" is called in function "${fn}" which is neither ` +
'a React function component or a custom React Hook function.',
`React Hook "${hook}" is called in function "${fn}" that is neither ` +
'a React function component nor a custom React Hook function.',
};
}

Expand Down

0 comments on commit 24b8518

Please sign in to comment.