Skip to content

Commit 1e03469

Browse files
committed
fix: code smell
1 parent 4e9e40b commit 1e03469

File tree

1 file changed

+1
-1
lines changed
  • web/src/pages/Cases/CaseDetails/Appeal/Classic

1 file changed

+1
-1
lines changed

web/src/pages/Cases/CaseDetails/Appeal/Classic/Fund.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const Fund: React.FC = () => {
1818
const loserSideCountdown = useLoserSideCountdownContext();
1919
const { fundedChoices, winningChoice } = useFundingContext();
2020
const needFund =
21-
loserSideCountdown! > 0 ||
21+
(loserSideCountdown ?? 0) > 0 ||
2222
(!isUndefined(fundedChoices) &&
2323
!isUndefined(winningChoice) &&
2424
fundedChoices.length > 0 &&

0 commit comments

Comments
 (0)