forked from baron/baron-sso
style: fix formatting issues caught by biome in adminfront
This commit is contained in:
@@ -80,7 +80,11 @@ function AppLayout() {
|
||||
};
|
||||
}, []);
|
||||
|
||||
const { data: profile, isLoading: isProfileLoading, error: profileError } = useQuery({
|
||||
const {
|
||||
data: profile,
|
||||
isLoading: isProfileLoading,
|
||||
error: profileError,
|
||||
} = useQuery({
|
||||
queryKey: ["me"],
|
||||
queryFn: async () => {
|
||||
console.debug("[AppLayout] Fetching profile...");
|
||||
@@ -180,11 +184,11 @@ function AppLayout() {
|
||||
const isTest =
|
||||
(window as Window & typeof globalThis & { _IS_TEST_MODE?: boolean })
|
||||
._IS_TEST_MODE === true;
|
||||
|
||||
|
||||
console.debug("[AppLayout] Auth state check:", {
|
||||
isLoading: auth.isLoading,
|
||||
isAuthenticated: auth.isAuthenticated,
|
||||
isTest
|
||||
isTest,
|
||||
});
|
||||
|
||||
if (!auth.isLoading && !auth.isAuthenticated && !isTest) {
|
||||
|
||||
Reference in New Issue
Block a user