From d1dddc1166befef898872a6ed0d9cf195187a451 Mon Sep 17 00:00:00 2001 From: Captain Jack Sparrow <163903675+sussy-code@users.noreply.github.com> Date: Sun, 9 Jun 2024 21:51:55 +0000 Subject: [PATCH] Fix eslint warnings --- src/assets/locales/en.json | 2 +- src/index.tsx | 1 - src/stores/turnstile/index.tsx | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/assets/locales/en.json b/src/assets/locales/en.json index ff09b54c7..0b3fe2543 100644 --- a/src/assets/locales/en.json +++ b/src/assets/locales/en.json @@ -457,7 +457,7 @@ "shortRemaining": "-{{timeLeft}}" }, "turnstile": { - "description": "Please prove your humanity by completing the quick Captcha on the right. This is to keep sudo-flix safe!", + "description": "Please prove your humanity by completing the quick challenge, this is to keep sudo-flix safe.", "error": "Failed to verify your humanity! Please try again.", "title": "Are You a Robot 🤖?", "verifyingHumanity": "Verifying your humanity... (^▽^)👍" diff --git a/src/index.tsx b/src/index.tsx index 6e8dde220..1ef9d4090 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -29,7 +29,6 @@ import { changeAppLanguage, useLanguageStore } from "@/stores/language"; import { ProgressSyncer } from "@/stores/progress/ProgressSyncer"; import { SettingsSyncer } from "@/stores/subtitles/SettingsSyncer"; import { ThemeProvider } from "@/stores/theme"; -import { TurnstileProvider } from "@/stores/turnstile"; import { extensionInfo, diff --git a/src/stores/turnstile/index.tsx b/src/stores/turnstile/index.tsx index f6452d91e..d063f53d4 100644 --- a/src/stores/turnstile/index.tsx +++ b/src/stores/turnstile/index.tsx @@ -74,7 +74,6 @@ export function isTurnstileInitialized() { } export async function getTurnstileToken() { - const turnstile = getTurnstile(); try { const token = await useTurnstileStore.getState().getToken();