From ba54f8ffd66eb1139190f10b06664ccd77d81c68 Mon Sep 17 00:00:00 2001 From: joseCorte-exe Date: Tue, 16 Aug 2022 10:30:57 -0300 Subject: [PATCH] fixing chart :bug: --- src/pages/index.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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 +// } +// } +// } +// }