-
实例管理
+
用户
diff --git a/apps/web/src/features/auth/page.tsx b/apps/web/src/features/auth/page.tsx
index 8539320..801a04e 100644
--- a/apps/web/src/features/auth/page.tsx
+++ b/apps/web/src/features/auth/page.tsx
@@ -28,6 +28,16 @@ export function ExternalLogin() {
) : null;
}
+export function SessionLoading({ administrator = false }: { administrator?: boolean }) {
+ return (
+
+
+
+
{administrator ? "正在加载管理后台…" : "正在加载管理台…"}
+
+
+ );
+}
export function Authentication({
phase,
notice,
@@ -37,15 +47,7 @@ export function Authentication({
notice: string;
authenticate: (data: FormData) => Promise
;
}) {
- if (phase === "loading")
- return (
-
-
-
- );
+ if (phase === "loading") return ;
return (