diff --git a/src/components/graph/LineBarChart.tsx b/src/components/graph/LineBarChart.tsx index 474b00d..78100d8 100644 --- a/src/components/graph/LineBarChart.tsx +++ b/src/components/graph/LineBarChart.tsx @@ -114,8 +114,6 @@ export function LineBarChart({ title, subtitle, data1, data2, data3, label, red, }, }; - console.log(data3) - const data = data2? { labels: label.length < 28? ['1', '2', '3', '4', '5', '6', '7', '8', '8', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31'] : label, datasets: [ diff --git a/src/components/graph/fatorPotenciaChart.tsx b/src/components/graph/fatorPotenciaChart.tsx index 94e170e..7a6847e 100644 --- a/src/components/graph/fatorPotenciaChart.tsx +++ b/src/components/graph/fatorPotenciaChart.tsx @@ -82,8 +82,6 @@ export default function FatorPotenciaChart({ title, subtitle, data1, data2, labe const labels = label; - console.log(data1) - const data = { labels, datasets: [ diff --git a/src/components/graph/grossAnualChart/GrossAnualChart.tsx b/src/components/graph/grossAnualChart/GrossAnualChart.tsx index 96bcb1e..d0c9aad 100644 --- a/src/components/graph/grossAnualChart/GrossAnualChart.tsx +++ b/src/components/graph/grossAnualChart/GrossAnualChart.tsx @@ -32,8 +32,6 @@ export function GrossAnualChart({ title, subtitle, dataProps, label, dataset, ba function spacement(string) { const spaces = string.length===1?'' : string.length===2? '' : string.length===3? ' ' : string.length===4? ' ' : string.length===5? ' ' : '' - console.log(string.length) - return spaces } @@ -76,13 +74,12 @@ export function GrossAnualChart({ title, subtitle, dataProps, label, dataset, ba }, display: true, anchor: "end", - offset: !miniature?20 : -30, + offset: !miniature?20 : 10, align: "start", font: { size: !miniature? 30 : 10, }, color: (value) => { - console.log(value.dataset.label) return value.dataset.label==='Consolidada'? '#fff' : '#255488' }, }, diff --git a/src/components/graph/grossMensalChart/GrossMensalChart.tsx b/src/components/graph/grossMensalChart/GrossMensalChart.tsx index 9fb61ec..40d8ef2 100644 --- a/src/components/graph/grossMensalChart/GrossMensalChart.tsx +++ b/src/components/graph/grossMensalChart/GrossMensalChart.tsx @@ -46,8 +46,6 @@ export default function GrossMensalChart({ title, data1, data2, label, subtitle, const spaces = string.length===1?'' : string.length===2? '' : string.length===3? ' ' : string.length===4? ' ' : string.length===5? ' ' : '' // const spaces = string.length===1?'' : string.length===2? '⠀⠀⠀⠀' : string.length===3? '⠀⠀⠀' : string.length===4? '⠀⠀' : string.length===5? '⠀' : '' - console.log(string.length) - return spaces } diff --git a/src/pages/administrative/clients/index.tsx b/src/pages/administrative/clients/index.tsx index ad271d2..c4c7da5 100644 --- a/src/pages/administrative/clients/index.tsx +++ b/src/pages/administrative/clients/index.tsx @@ -145,15 +145,11 @@ export default function clients({ clients, userName }) { newImageUrls.push(URL.createObjectURL(image)) ) setImageURLs(newImageUrls) - - console.log('ola') }, [images]) function onImageChange(e: any) { - console.log('olá'); setImages([...e.target.files]) setLogo(e.target.files[0]) - console.log(e.target.files[0]); } return ( @@ -315,7 +311,6 @@ export default function clients({ clients, userName }) {
{imageURLS.map((imageSrc, index) => { - console.log('olá') return (); function onChange(e) { - console.log(e.target.files) setPdf(e.target.files[0]) } @@ -55,7 +54,7 @@ export default function industryInfo({userName, pdfUrl}: any) { api.get('/download').then(res => { window.open(res.data.path); }).catch(res => { - console.log(res) + // console.log(res) }) } @@ -79,7 +78,7 @@ export default function industryInfo({userName, pdfUrl}: any) {
- +
@@ -107,7 +106,7 @@ export const getServerSideProps: GetServerSideProps = async (ctx) => { apiClient.get('/download').then(res => { pdfUrl = res.data.path }).catch(res => { - console.log('exception', res) + // console.log('exception', res) }) if (!token) { diff --git a/src/pages/costIndicator/index.tsx b/src/pages/costIndicator/index.tsx index 3e87bbe..4f5a67c 100644 --- a/src/pages/costIndicator/index.tsx +++ b/src/pages/costIndicator/index.tsx @@ -43,7 +43,6 @@ export default function CostIndicator({graphData, userName, clients}: any) { ] }:{}).then(res => { setGraphDataState(res.data.data) - console.log() }).catch(res => { // console.log(res) }) @@ -113,7 +112,6 @@ export const getServerSideProps: GetServerSideProps = async (ctx) => { "codigo_scde"], "distinct": true }).then(res => { - console.log(res.data.data) clients = res.data.data }).catch(res => { // console.log(res) diff --git a/src/pages/economy/index.tsx b/src/pages/economy/index.tsx index 0a168d6..4e944c5 100644 --- a/src/pages/economy/index.tsx +++ b/src/pages/economy/index.tsx @@ -105,15 +105,15 @@ export default function economy({userName, anual, years, brutaMensal, yearsBruta { economyMenu === 0? -

Economia Bruta Anual - Valores em R$ x mil

+

Economia Bruta Estimada e Acumulada Anual - Valores em R$ x mil

: economyMenu === 1? -

Economia Bruta Mensal - Valores em R$ x mil

+

Economia Bruta Estimada e Acumulada Anual - Valores em R$ x mil

: economyMenu === 2? -

Economia Estimada x Consolidada - Valores em R$ x mil

+

Comparativo de Custo Estimado - Valores em R$ x mil

: -

Economia Custo R$/MWH - Valores em R$ x mil

+

Indicador de Custo - Valores em R$/MWh

} { typeof window === 'undefined' || typeof window === undefined? null : @@ -141,7 +141,7 @@ export default function economy({userName, anual, years, brutaMensal, yearsBruta
- + Unidade