Remove unnecessary getServerSideProps
This commit is contained in:
parent
ee4916893e
commit
1cb0eeea2b
16 changed files with 1 additions and 53 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue