Remove Cloudflare mailer implementation, update dependencies and updated code to reflect stricter EsLint settings
Deleted CloudflareMailer class and its implementation from the mailers package. Updated dependencies across various packages, converting certain imports to use `type` only, and bumped versions for packages like `react-query`, `lucide-react`, and others.
This commit is contained in:
@@ -29,9 +29,9 @@
|
||||
"@marsidev/react-turnstile": "^0.7.2",
|
||||
"@radix-ui/react-icons": "^1.3.0",
|
||||
"@supabase/supabase-js": "^2.45.0",
|
||||
"@tanstack/react-query": "5.51.15",
|
||||
"@tanstack/react-query": "5.51.16",
|
||||
"@types/react": "^18.3.3",
|
||||
"lucide-react": "^0.417.0",
|
||||
"lucide-react": "^0.418.0",
|
||||
"next": "14.2.5",
|
||||
"react-hook-form": "^7.52.1",
|
||||
"react-i18next": "^15.0.0",
|
||||
|
||||
@@ -32,7 +32,7 @@ export function OauthProviders(props: {
|
||||
const credential = await signInRequest();
|
||||
|
||||
if (!credential) {
|
||||
return Promise.reject();
|
||||
return Promise.reject(new Error('Failed to sign in with provider'));
|
||||
}
|
||||
},
|
||||
[],
|
||||
|
||||
@@ -33,7 +33,7 @@ export function PasswordSignInContainer({
|
||||
|
||||
onSignIn(userId);
|
||||
}
|
||||
} catch (e) {
|
||||
} catch {
|
||||
// wrong credentials, do nothing
|
||||
} finally {
|
||||
resetCaptchaToken();
|
||||
|
||||
Reference in New Issue
Block a user