Skip to content

Commit 6df8276

Browse files
committed
fix
1 parent 8fa1e66 commit 6df8276

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Components/Auth/With.tsx

-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ import { useAuth } from "react-oidc-context";
99
export function Authorized({ children }: { children: ReactNode }): ReactNode {
1010
const auth = useAuth();
1111

12-
if (auth.isLoading) {
13-
return "Authenticating...";
14-
}
15-
1612
if (auth.isAuthenticated) {
1713
return children;
1814
}

0 commit comments

Comments
 (0)