1
0
forked from baron/baron-sso

로그인 콜백-가드 흐름 및 API 인증 처리 안정화

This commit is contained in:
2026-03-03 14:11:54 +09:00
parent 7c1dbaf206
commit 7cf07a5627
5 changed files with 20 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ import { Navigate, Outlet } from "react-router-dom";
export default function AuthGuard() {
const auth = useAuth();
if (auth.isLoading) {
if (auth.isLoading || auth.activeNavigator) {
return <div>Loading...</div>;
}