Skip to content

Commit

Permalink
🆒 (#77) : atualizaçao dos dados do total de nomeaçoes e exoneraçoes
Browse files Browse the repository at this point in the history
Co-authored-by: Vitor Feijó Leonardo <[email protected]>
Co-authored-by: Bianca Patrocínio <[email protected]>
  • Loading branch information
3 people committed Dec 3, 2023
1 parent d5f1ec6 commit a0d11b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion implementacao-front/src/components/Total.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import styles from './Total.module.css'
function Total(props) {
return (
<div className={styles.totalTable}>
<h2>Total</h2>
<h2>Total Mapeado</h2>
<ol>
<li>{props.quantity[0]} Exonerações</li>
<li>{props.quantity[1]} Nomeações</li>
Expand Down
4 changes: 2 additions & 2 deletions implementacao-front/src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const pie = {
const cities = ['Porto Alegre', 'Caxias do Sul', 'Canoas', 'Pelotas', 'Santa Maria']

const quantity = [7282, 5321, 3293, 3124, 2130]
const n = [87465, 84577]
const total = [6714, 1530]

function Home() {
return (
Expand All @@ -51,7 +51,7 @@ function Home() {
<h1 className={styles.subTitle}>Rio Grande do Sul</h1>
<br></br>
<br></br>
<Total quantity={n}/>
<Total quantity={total}/>
</div>
<div className={styles.pieGraph}>
<h2 className={styles.graphTitle}>Exonerações x Nomeações em 2023</h2>
Expand Down

0 comments on commit a0d11b2

Please sign in to comment.