Skip to content

Commit

Permalink
run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-tey committed Oct 14, 2024
1 parent ce7ab5b commit 2dcb5a6
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions apps/web/app/app.dub.co/(auth)/login/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,12 @@ const errorCodes = {
"Account has been locked due to too many login attempts. Please contact support to unlock your account.",
"too-many-login-attempts": "Too many login attempts. Please try again later.",
"email-not-verified": "Please verify your email address.",
"Callback": "We encountered an issue processing your request. Please try again or contact support if the problem persists.",
"OAuthSignin": "There was an issue signing you in. Please ensure your provider settings are correct.",
"OAuthCallback": "We faced a problem while processing the response from the OAuth provider. Please try again.",
Callback:
"We encountered an issue processing your request. Please try again or contact support if the problem persists.",
OAuthSignin:
"There was an issue signing you in. Please ensure your provider settings are correct.",
OAuthCallback:
"We faced a problem while processing the response from the OAuth provider. Please try again.",
};

const LoginFormContext = createContext<{
Expand All @@ -61,13 +64,13 @@ const LoginFormContext = createContext<{
setShowSSOOption: Dispatch<SetStateAction<boolean>>;
}>({
authMethod: undefined,
setAuthMethod: () => { },
setAuthMethod: () => {},
clickedMethod: undefined,
showPasswordField: false,
setShowPasswordField: () => { },
setClickedMethod: () => { },
setLastUsedAuthMethod: () => { },
setShowSSOOption: () => { },
setShowPasswordField: () => {},
setClickedMethod: () => {},
setLastUsedAuthMethod: () => {},
setShowSSOOption: () => {},
});

export default function LoginForm() {
Expand Down

0 comments on commit 2dcb5a6

Please sign in to comment.