diff --git a/src/pages/index.tsx b/src/pages/index.tsx index f4b9f15..eaf536d 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -168,15 +168,15 @@ export default function Home() { ) } -export const getServerSideProps: GetServerSideProps = async (ctx) => { - const { ['@smartAuth-token']: token } = parseCookies(ctx) +// export const getServerSideProps: GetServerSideProps = async (ctx) => { +// const { ['@smartAuth-token']: token } = parseCookies(ctx) - if (token) { - return { - redirect: { - destination: '/dashboard', - permanent: false - } - } - } -} +// if (token) { +// return { +// redirect: { +// destination: '/dashboard', +// permanent: false +// } +// } +// } +// }