Skip to content

Commit

Permalink
Inhibit translation of OTP field
Browse files Browse the repository at this point in the history
to avoid error on DOM manipulation

otherwise we'll get error below:
> NotFoundError: Failed to execute 'removeChild' on 'Node': The node
> to be removed is not a child of this node.
  • Loading branch information
Rindrics committed Oct 23, 2024
1 parent 12a39cd commit 4c88323
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/(auth)/signup/verify-email/verify-email-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export const VerifyEmailForm: FC = () => {
data-1p-ignore
name="token"
onComplete={handleComplete}
className="notranslate"
>
<InputOTPGroup>
<InputOTPSlot index={0} />
Expand Down

0 comments on commit 4c88323

Please sign in to comment.