diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 7a5ea72..6889eb2 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -168,19 +168,19 @@ 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 +// } +// } +// } - return { - props: {} - }; -} +// return { +// props: {} +// }; +// } diff --git a/src/pages/telemetria/index.tsx b/src/pages/telemetria/index.tsx index 98cf61b..057584a 100644 --- a/src/pages/telemetria/index.tsx +++ b/src/pages/telemetria/index.tsx @@ -383,8 +383,8 @@ export default function Telemetria({userName, clients}: any) { 5 minutos 15 minutos - {/* 1 hora - 1 dia + 1 hora + {/* 1 dia 1 mês */}