fixing chart 🐛
This commit is contained in:
parent
cbafcb1642
commit
ba54f8ffd6
@ -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
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user