Skip to content

Commit

Permalink
cleaned up integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mertbagt committed Dec 30, 2024
1 parent 4838107 commit 358ce50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/search/testimony/TestimonyHit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Testimony } from "components/db/testimony"
import { trimContent } from "components/TestimonyCallout/TestimonyCallout"
import { formatBillId } from "components/formatting"
import { useBill } from "components/db/bills"
import { FollowOrgButton } from "components/shared/FollowButton"
import { FollowUserButton } from "components/shared/FollowButton"
import { Image } from "react-bootstrap"
import { useFlags } from "components/featureFlags"
import { useAuth } from "components/auth"
Expand Down Expand Up @@ -72,7 +72,7 @@ const TestimonyResult = ({ hit }: { hit: Hit<Testimony> }) => {
<b>Written by {writtenBy}</b>
</span>
{!isCurrentUser && followOrg && user && (
<FollowOrgButton profileId={hit.authorUid} />
<FollowUserButton profileId={hit.authorUid} />
)}
</div>
<hr />
Expand Down

0 comments on commit 358ce50

Please sign in to comment.