Skip to content

Commit

Permalink
fix: missing social provider icon
Browse files Browse the repository at this point in the history
Missing social provider icon should not break Auth component.
  • Loading branch information
tchief authored Mar 6, 2022
1 parent 743b294 commit 884e3c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Auth/Auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ function SocialAuth({
shadow
size={socialButtonSize}
style={socialColors ? buttonStyles[provider] : {}}
icon={<AuthIcon />}
icon={AuthIcon ? <AuthIcon /> : ''}
loading={loading}
onClick={() => handleProviderSignIn(provider)}
className="flex items-center"
Expand Down

0 comments on commit 884e3c3

Please sign in to comment.