Skip to content

Commit

Permalink
grecaptcha lint
Browse files Browse the repository at this point in the history
  • Loading branch information
toger5 committed Aug 27, 2024
1 parent a4229e6 commit d45e049
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/auth/useRecaptcha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ import { useEffect, useCallback, useRef, useState } from "react";
import { randomString } from "matrix-js-sdk/src/randomstring";
import { useTranslation } from "react-i18next";
import { logger } from "matrix-js-sdk/src/logger";
import "grecaptcha";

import { translatedError } from "../TranslatedError";

declare global {
interface Window {
mxOnRecaptchaLoaded: () => void;
grecaptcha: ReCaptchaV2.ReCaptcha;
}
}

Expand Down

0 comments on commit d45e049

Please sign in to comment.