chore: remove auto signout in auth page (#1927)

This commit is contained in:
boojack 2023-07-12 00:16:32 +08:00 committed by GitHub
parent 698380f940
commit d4b88c6c86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,6 @@ const Auth = () => {
const [identityProviderList, setIdentityProviderList] = useState<IdentityProvider[]>([]);
useEffect(() => {
userStore.doSignOut().catch();
const fetchIdentityProviderList = async () => {
const { data: identityProviderList } = await api.getIdentityProviderList();
setIdentityProviderList(identityProviderList);