Skip to content

Commit ba5bdd8

Browse files
fix: recaptcha import (#2621)
1 parent 67fcc5e commit ba5bdd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/website/src/components/ApplyForm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Button, Card, Heading1, InlineLink, Input, LabelText, Text } from '@algolia/ui-library';
22
import { useBaseUrlUtils } from '@docusaurus/useBaseUrl';
33
import React, { useState, useRef } from 'react';
4-
import { ReCAPTCHA } from 'react-google-recaptcha';
4+
import ReCaptcha from 'react-google-recaptcha';
55

66
function ApplyForm() {
77
const { withBaseUrl } = useBaseUrlUtils();
@@ -223,7 +223,7 @@ function ApplyForm() {
223223

224224
<div className="uil-mt-16 uil-mb-16 uil-d-flex uil-jc-center uil-ai-center">
225225
<div style={{ display: 'inline-block' }}>
226-
<ReCAPTCHA ref={recaptchaRef} sitekey="6LeE9VcrAAAAAJ-MxCRdgKI0lxJIJs2PIVWlw-0z" theme="light" />
226+
<ReCaptcha ref={recaptchaRef} sitekey="6LeE9VcrAAAAAJ-MxCRdgKI0lxJIJs2PIVWlw-0z" theme="light" />
227227
</div>
228228
</div>
229229

0 commit comments

Comments
 (0)