From 8d050928f0d3eb734a2902f7c7b570030e435d72 Mon Sep 17 00:00:00 2001 From: joseCorte-exe Date: Thu, 25 Aug 2022 15:39:24 -0300 Subject: [PATCH] add 1hour to demand chart --- src/pages/index.tsx | 28 ++++++++++++++-------------- src/pages/telemetria/index.tsx | 4 ++-- 2 files changed, 16 insertions(+), 16 deletions(-) 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 */}