Skip to content

Commit 22d4b24

Browse files
committed
style: fix line-ending and spaces
1 parent bc76501 commit 22d4b24

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

src/recaptcha.js

+10-6
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,19 @@ import React from 'react'
22
import { useNetlifyFormContext } from './netlify-form-context'
33
import GoogleRecaptcha from 'react-google-recaptcha'
44

5-
export const Recaptcha = ({ siteKey = '', invisible = false, ...passThroughProps }) => {
5+
export const Recaptcha = ({
6+
siteKey = '',
7+
invisible = false,
8+
...passThroughProps
9+
}) => {
610
const { recaptchaRef } = useNetlifyFormContext()
711

812
return (
9-
<GoogleRecaptcha
10-
{...passThroughProps}
11-
sitekey={siteKey}
12-
ref={recaptchaRef}
13-
{...(invisible ? {size: 'invisible'} : {})}
13+
<GoogleRecaptcha
14+
{...passThroughProps}
15+
sitekey={siteKey}
16+
ref={recaptchaRef}
17+
{...(invisible ? { size: 'invisible' } : {})}
1418
/>
1519
)
1620
}

0 commit comments

Comments
 (0)