fix: Revert "fix: fix display bug in SigninTable" (#2700)

This reverts commit d52058d2ae.
This commit is contained in:
hsluoyz
2024-02-14 09:44:42 +08:00
committed by GitHub
parent d52058d2ae
commit 6d9d595f86
5 changed files with 10 additions and 14 deletions

View File

@ -131,7 +131,7 @@ export function goToWeb3Url(application, provider, method) {
}
export function renderProviderLogo(provider, application, width, margin, size, location) {
if (size === "Small icon") {
if (size === "small") {
if (provider.category === "OAuth") {
if (provider.type === "WeChat" && provider.clientId2 !== "" && provider.clientSecret2 !== "" && provider.disableSsl === true && !navigator.userAgent.includes("MicroMessenger")) {
const info = async() => {