File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
app2/src/routes/auth/sign-in Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const providers: Array<AuthProvider> = [
20
20
icon:
21
21
` <path fill="currentColor" d="m17.687 3.063l-4.996 5.711l-4.32-5.711H2.112l7.477 9.776l-7.086 8.099h3.034l5.469-6.25l4.78 6.25h6.102l-7.794-10.304l6.625-7.571zm-1.064 16.06L5.654 4.782h1.803l10.846 14.34z"/> ` ,
22
22
iconColor: " text-white" ,
23
- disabled: true ,
23
+ disabled: false ,
24
24
},
25
25
{
26
26
id: " github" ,
@@ -68,7 +68,6 @@ function handleLogin(provider: AuthProvider) {
68
68
class ="w-full flex items-center justify-center gap-3 h-11 relative hover:translate-y-[1px] transition-all {provider .disabled ? ' opacity-30 cursor-not-allowed' : ' ' }"
69
69
disabled ={provider .disabled || loading }
70
70
onclick ={() => handleLogin (provider )}
71
- title ={provider .disabled ? ` ${provider .name } is temporarily disabled ` : " " }
72
71
>
73
72
<svg
74
73
class ="w-5 h-5 {provider .iconColor } {loading ? ' opacity-70' : ' ' }"
@@ -77,7 +76,7 @@ function handleLogin(provider: AuthProvider) {
77
76
{@html provider .icon }
78
77
</svg >
79
78
<span class ={loading ? " opacity-70" : " " }>
80
- {#if provider .id === " twitter " && provider . disabled }
79
+ {#if provider .disabled }
81
80
Outage, check back later
82
81
{:else }
83
82
Continue with {provider .name }
You can’t perform that action at this time.
0 commit comments