Fix eslint warnings

This commit is contained in:
Captain Jack Sparrow 2024-06-09 21:51:55 +00:00
parent b9d55f23cf
commit d1dddc1166
3 changed files with 1 additions and 3 deletions

View File

@ -457,7 +457,7 @@
"shortRemaining": "-{{timeLeft}}" "shortRemaining": "-{{timeLeft}}"
}, },
"turnstile": { "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.", "error": "Failed to verify your humanity! Please try again.",
"title": "Are You a Robot 🤖?", "title": "Are You a Robot 🤖?",
"verifyingHumanity": "Verifying your humanity... (^▽^)👍" "verifyingHumanity": "Verifying your humanity... (^▽^)👍"

View File

@ -29,7 +29,6 @@ import { changeAppLanguage, useLanguageStore } from "@/stores/language";
import { ProgressSyncer } from "@/stores/progress/ProgressSyncer"; import { ProgressSyncer } from "@/stores/progress/ProgressSyncer";
import { SettingsSyncer } from "@/stores/subtitles/SettingsSyncer"; import { SettingsSyncer } from "@/stores/subtitles/SettingsSyncer";
import { ThemeProvider } from "@/stores/theme"; import { ThemeProvider } from "@/stores/theme";
import { TurnstileProvider } from "@/stores/turnstile";
import { import {
extensionInfo, extensionInfo,

View File

@ -74,7 +74,6 @@ export function isTurnstileInitialized() {
} }
export async function getTurnstileToken() { export async function getTurnstileToken() {
const turnstile = getTurnstile();
try { try {
const token = await useTurnstileStore.getState().getToken(); const token = await useTurnstileStore.getState().getToken();