mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
disable single attribute per line
This commit is contained in:
@@ -45,22 +45,14 @@ export const AppOutlet = () => {
|
||||
|
||||
if (authState === AuthState.LOADING) {
|
||||
return (
|
||||
<Center
|
||||
h="100vh"
|
||||
w="100%"
|
||||
>
|
||||
<Center h="100vh" w="100%">
|
||||
<Spinner container />
|
||||
</Center>
|
||||
);
|
||||
}
|
||||
|
||||
if (isActionsRequired || authState === AuthState.INVALID) {
|
||||
return (
|
||||
<Navigate
|
||||
replace
|
||||
to={AppRoute.ACTION_REQUIRED}
|
||||
/>
|
||||
);
|
||||
return <Navigate replace to={AppRoute.ACTION_REQUIRED} />;
|
||||
}
|
||||
|
||||
return <Outlet />;
|
||||
|
||||
Reference in New Issue
Block a user