Skip to content

Commit

Permalink
fix Bug part-des-francais-dans-provenance close #47
Browse files Browse the repository at this point in the history
  • Loading branch information
robindemourat committed Nov 15, 2024
1 parent 9712735 commit e94a3ea
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default function PartDesFrancaisDansProvenance({
year: d.year,
share: d.share_of_french.toFixed(2),
state: d.state,
tonnage: formatNumber(d.tonnage_french, lang)
tonnage: formatNumber(parseInt(d.tonnage_french), lang)
})
// `En ${d.year}, ${d.share_of_french.toFixed(2)}% des voyages partis de ports de ${d.state} et arrivés à Marseille étaient assurés par des navires français (${formatNumber(d.tonnage_french, lang)} tx. cumulés)`
}
Expand Down Expand Up @@ -134,7 +134,7 @@ export default function PartDesFrancaisDansProvenance({
year: d.year,
share: d.share_of_french.toFixed(2),
state: d.state,
tonnage: formatNumber(d.tonnage_french, lang)
tonnage: formatNumber(parseInt(d.tonnage_french), lang)
})
// `En ${d.year}, ${d.share_of_french.toFixed(2)}% des voyages partis de ports de ${d.state} et arrivés à Marseille étaient assurés par des navires français (${formatNumber(d.tonnage_french, lang)} tx. cumulés)`
}
Expand Down

0 comments on commit e94a3ea

Please sign in to comment.