Skip to content

Commit

Permalink
Suppression de logs de dev
Browse files Browse the repository at this point in the history
  • Loading branch information
laem committed Oct 22, 2024
1 parent 87e95c2 commit e802734
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
7 changes: 3 additions & 4 deletions app/règles/rules.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ const rulesWithMarkdown = Object.fromEntries(
Object.entries(rules).map(([k, v]) => [k, transformRuleObject(v)]),
)

console.log('lightgreen rules', rules)
export default rulesWithMarkdown

function transformRuleObject(v) {
Expand All @@ -70,11 +69,11 @@ function transformRuleObject(v) {
descriptionHtml: v.description && parse(v.description),
titreHtml: v.titre && parse(v.titre),
sousTitreHtml: v['sous-titre'] && parse(v['sous-titre']),
conditionsEligibilitesHTML: v['conditions éligibilités'] && parse(v['conditions éligibilités']),
conditionsEligibilitesHTML:
v['conditions éligibilités'] && parse(v['conditions éligibilités']),
informationsUtilesHtml:
v['informations utiles'] && parse(v['informations utiles']),
commentFaireHtml:
v['comment faire'] && parse(v['comment faire']),
commentFaireHtml: v['comment faire'] && parse(v['comment faire']),
}
return newV
}
5 changes: 0 additions & 5 deletions components/PersonaBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ export default function PersonaBar({ startShown = false, selectedPersona }) {
.setSituation(enrichedSituation)
.evaluate(dottedName + ' . montant'),
)
if (persona.description.includes('Rennes,'))
console.log(
'lightgreen personbar',
engine.evaluate('aides locales . montant'),
)

const newPersona = {
...persona,
Expand Down
2 changes: 0 additions & 2 deletions components/ampleur/Denormandie.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,6 @@ const Result = ({ engine, situation }) => {
{ precision: 0 },
)

console.log('lightgreen', { value, thresholdCondition })

return (
<section
css={`
Expand Down

0 comments on commit e802734

Please sign in to comment.