Skip to content

Commit 925889e

Browse files
committed
fix eslint error
1 parent f58c76a commit 925889e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/components/Turnstile.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,10 @@ Turnstile.propTypes = {
8787
language: PropTypes.string,
8888
};
8989

90+
Turnstile.defaultProps = {
91+
onSuccess: null,
92+
onError: null,
93+
language: null,
94+
};
95+
9096
export default Turnstile;

0 commit comments

Comments
 (0)