fix: fix display bug in SigninTable (#2698)

* fix: fix display bug in SigninTable

* fix: fix code bug

* feat: improve code format

* feat: improve code format
This commit is contained in:
DacongDA
2024-02-14 09:26:51 +08:00
committed by GitHub
parent bcfbfc6947
commit d52058d2ae
5 changed files with 14 additions and 10 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") {
if (size === "Small icon") {
if (provider.category === "OAuth") {
if (provider.type === "WeChat" && provider.clientId2 !== "" && provider.clientSecret2 !== "" && provider.disableSsl === true && !navigator.userAgent.includes("MicroMessenger")) {
const info = async() => {