This commit is contained in:
Darren Clarke 2023-08-25 07:11:33 +00:00
parent 8f165d15d2
commit c620e4bf25
264 changed files with 9983 additions and 2280 deletions

View file

@ -2,6 +2,7 @@
import { FC, useLayoutEffect } from "react";
import { useRouter } from "next/navigation";
import { CircularProgress, Box, Grid } from "@mui/material";
import { ZammadWrapper } from "../../../(main)/_components/ZammadWrapper";
export const Setup: FC = () => {
@ -10,5 +11,21 @@ export const Setup: FC = () => {
setTimeout(() => router.push("/"), 4000);
}, [router]);
return <ZammadWrapper path="/auth/sso" hideSidebar={false} />;
return (
<Box sx={{ width: "100%" }}>
<Grid
container
direction="column"
sx={{ height: 500 }}
justifyContent="center"
alignContent="center"
alignItems="center"
>
<Grid item>
<CircularProgress size={80} color="success" />
</Grid>
</Grid>
<ZammadWrapper path="/auth/sso" hideSidebar={false} />
</Box>
);
};