Skip to content

Commit df290a6

Browse files
feature/testing github auth
1 parent eb33384 commit df290a6

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/app/(dynamic-pages)/(login-pages)/login/Login.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export function Login({
196196
</CardHeader>
197197
<CardContent className="space-y-2 p-0">
198198
<RenderProviders
199-
providers={['google', 'github', 'twitter']}
199+
providers={['github']}
200200
isLoading={providerMutation.isLoading}
201201
onProviderLoginRequested={providerMutation.mutate}
202202
/>

src/components/Auth/RenderProviders.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function capitalize(word: string) {
1414
return word.charAt(0).toUpperCase() + lower.slice(1);
1515
}
1616

17-
const isDemo = true;
17+
const isDemo = false;
1818

1919
export const RenderProviders = ({
2020
providers,
@@ -31,11 +31,10 @@ export const RenderProviders = ({
3131
const AuthIcon = SocialIcons[provider];
3232
const component = (
3333
<Button
34-
variant="default"
34+
variant="outline"
3535
size="default"
3636
disabled={isLoading || isDemo}
3737
onClick={() => onProviderLoginRequested(provider)}
38-
className="bg-white dark:bg-white text-black dark:text-black border h-10 border-gray-400 dark:border-gray-600 rounded-lg"
3938
>
4039
<div className="mr-2">
4140
<AuthIcon />

0 commit comments

Comments
 (0)