Remove unnecessary getServerSideProps

This commit is contained in:
Darren Clarke 2023-05-25 08:03:04 +00:00
parent ee4916893e
commit 1cb0eeea2b
16 changed files with 1 additions and 53 deletions

View file

@ -1,10 +1,9 @@
import { useLayoutEffect } from "react";
import { NextPage, GetServerSideProps, GetServerSidePropsContext } from "next";
import { NextPage } 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";
const Setup: NextPage = () => {
const {
@ -46,7 +45,3 @@ const Setup: NextPage = () => {
};
export default Setup;
export const getServerSideProps: GetServerSideProps = async (
context: GetServerSidePropsContext
) => checkAuth(context);