-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Social icon is already exists in UserAccount component code, but we need to make sure it is showing.
Social logo gets from useSocialLogo hook.
We have to change return values to upper case in hooks/useSocialLogo.ts
const useSocialLogo = (session: Session | null) => {
const id = session && session?.user?.id;
if (id?.includes("GOOGLE")) {
return "google";
} else if (id?.includes("DISCORD")) {
return "discord";
} else if (id?.includes("TWITTER")) {
return "twitter";
} else if (id?.includes("TWITCH")) {
return "twitch";
} else if (id?.includes("REDDIT")) {
return "reddit";
} else if (id?.includes("CHESS")) {
return "chess";
}
else return null;
};Metadata
Metadata
Assignees
Labels
No labels