Build and type fixes
This commit is contained in:
parent
d5bd58ac3e
commit
656f3fbe71
64 changed files with 1878 additions and 1501 deletions
|
|
@ -1,10 +1,12 @@
|
|||
import { FC, useLayoutEffect } from "react";
|
||||
import { useLayoutEffect } from "react";
|
||||
import { NextPage, GetServerSideProps, GetServerSidePropsContext } from "next";
|
||||
import { useRouter } from "next/router";
|
||||
import { Grid, CircularProgress } from "@mui/material";
|
||||
import Iframe from "react-iframe";
|
||||
import { useAppContext } from "components/AppProvider";
|
||||
import { checkAuth } from "lib/checkAuth";
|
||||
|
||||
export const Setup: FC = () => {
|
||||
const Setup: NextPage = () => {
|
||||
const {
|
||||
colors: { leafcutterElectricBlue },
|
||||
} = useAppContext();
|
||||
|
|
@ -44,3 +46,7 @@ export const Setup: FC = () => {
|
|||
};
|
||||
|
||||
export default Setup;
|
||||
|
||||
export const getServerSideProps: GetServerSideProps = async (
|
||||
context: GetServerSidePropsContext
|
||||
) => checkAuth(context);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue