fixing chart 🐛

This commit is contained in:
joseCorte-exe 2022-08-16 10:30:57 -03:00
parent cbafcb1642
commit ba54f8ffd6

View File

@ -168,15 +168,15 @@ export default function Home() {
) )
} }
export const getServerSideProps: GetServerSideProps = async (ctx) => { // export const getServerSideProps: GetServerSideProps = async (ctx) => {
const { ['@smartAuth-token']: token } = parseCookies(ctx) // const { ['@smartAuth-token']: token } = parseCookies(ctx)
if (token) { // if (token) {
return { // return {
redirect: { // redirect: {
destination: '/dashboard', // destination: '/dashboard',
permanent: false // permanent: false
} // }
} // }
} // }
} // }