Skip to content

Commit

Permalink
Line up logic with surrounding code
Browse files Browse the repository at this point in the history
Co-authored-by: devin ivy <[email protected]>
  • Loading branch information
foysalit and devinivy authored Sep 3, 2024
1 parent fdc3476 commit 30de121
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions app/reports/page-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,10 @@ const buildPageTitle = ({
additionalFragments.push('Include Muted')
}

if (appealed !== null) {
if (appealed === 'true') {
additionalFragments.push('Only Appeals')
} else {
additionalFragments.push('No Appeals')
}
if (appealed === 'true') {
additionalFragments.push('Only Appeals')
} else if (appealed === 'false') {
additionalFragments.push('No Appeals')
}

const additionalTitle = additionalFragments.length
Expand Down

0 comments on commit 30de121

Please sign in to comment.