I have a following button which is connected to recaptcha according to docs
<Button
  onClick={() => setShowSpinner(true)}
  size="lg"
  className="g-recaptcha"
  data-sitekey="XYZ"
  data-callback="handleFormSend"
  data-action='submit'
>
  {showSpinner && <Spinner
    as="span"
    animation="grow"
    size="sm"
    role="status"
    aria-hidden="true"
  />}
  Send
</Button>
I don't understand why in chrome I got
"Warning: Did not expect server HTML to contain a
<div>in<form>."
Of course I checked HTML code and don't see any div? In Mozilla there is no warning.
I use next and react.
What may be wrong?
 
     
     
    