We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
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; };
The text was updated successfully, but these errors were encountered:
Done! pushed to main #840390bc36ce7
Sorry, something went wrong.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: