pull/48/head
smallbun 1 year ago
parent 26b9a76484
commit aed55d4cdb

@ -361,7 +361,7 @@ const IdentityProvider = () => {
const { styles } = useStyle(prefixCls); const { styles } = useStyle(prefixCls);
useMount(async () => { useMount(async () => {
if (!type || !(type.toUpperCase() in IdentityProviderCategory)) { if (!type || !IdentityProviderCategory[type]) {
setTabActiveKey(IdentityProviderCategory.social); setTabActiveKey(IdentityProviderCategory.social);
history.push({ history.push({
pathname: location.pathname, pathname: location.pathname,

Loading…
Cancel
Save