use || instead of ??
This commit is contained in:
parent
15d3ab79bd
commit
c84f617e5c
@ -35,7 +35,7 @@ export function FilteredGamesList({
|
||||
const positiveCount = gameToPositive.get(game)?.size || 0;
|
||||
const neutralCount = selectedPeopleCount - positiveCount;
|
||||
const gameData = games.get(game);
|
||||
const price = gameData?.price ?? 0;
|
||||
const price = gameData?.price || 0;
|
||||
|
||||
return (
|
||||
<Link
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user