[Glitch] Enable stricter Typescript options

Port 3750e8050c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Renaud Chaput
2024-05-27 11:24:59 +02:00
committed by Claire
parent 6b4c182806
commit 2e3d6e451f
8 changed files with 34 additions and 16 deletions

View File

@@ -48,7 +48,7 @@ const ShortNumberCounter: React.FC<ShortNumberCounterProps> = ({ value }) => {
const count = (
<FormattedNumber
value={rawNumber}
value={rawNumber ?? 0}
maximumFractionDigits={maxFractionDigits}
/>
);