diff --git a/web/app/(shareLayout)/webapp-signin/page.tsx b/web/app/(shareLayout)/webapp-signin/page.tsx index 6c00b46e90..d8a1267c6f 100644 --- a/web/app/(shareLayout)/webapp-signin/page.tsx +++ b/web/app/(shareLayout)/webapp-signin/page.tsx @@ -11,6 +11,7 @@ import { setAccessToken } from '@/app/components/share/utils' import Button from '@/app/components/base/button' import { useGlobalPublicStore } from '@/context/global-public-context' import { SSOProtocol } from '@/types/feature' +import Loading from '@/app/components/base/loading' const WebSSOForm: FC = () => { const { t } = useTranslation() @@ -91,6 +92,9 @@ const WebSSOForm: FC = () => { init() }, [message, processTokenAndRedirect, tokenFromUrl]) + if (tokenFromUrl) + return
{group.name}
{group.groupSize}
@@ -95,7 +101,13 @@ type MemberItemProps = { member: AccessControlAccount } function MemberItem({ member }: MemberItemProps) { - return{member.name}
} @@ -103,8 +115,9 @@ function MemberItem({ member }: MemberItemProps) { type BaseItemProps = { icon: React.ReactNode children: React.ReactNode + onRemove?: () => void } -function BaseItem({ icon, children }: BaseItemProps) { +function BaseItem({ icon, onRemove, children }: BaseItemProps) { return