Skip to content

Commit

Permalink
remove finance info. my api is too buggy
Browse files Browse the repository at this point in the history
  • Loading branch information
ethancedwards8 committed Dec 2, 2024
1 parent 28c78c7 commit 679503f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pages/congress/[repID].js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ export default function LearnMore({ repInfo }) {
<div className={styles.infoCentral}>
<h1>{repInfo.type} {repInfo.directOrderName}</h1>
<p>{repInfo.partyHistory[0].partyName} Party - {repInfo.state}</p>
<p>Campaign Contributions: {(repInfo.finance.contributions - repInfo.finance.contribution_refunds).toLocaleString('en-US', {
style: 'currency', currency: 'USD' })}</p>
<h2>Lawmaking Information:</h2>
<div>
<p>Bills Sponsored: {repInfo.sponsoredLegislation.count}</p>
Expand Down

0 comments on commit 679503f

Please sign in to comment.