Skip to content

Commit

Permalink
🥩 Fix Candidates Card "Staked" copy (#3338)
Browse files Browse the repository at this point in the history
* Fix: #2795

* Fix: Test Fix
  • Loading branch information
BeardKoda authored Jul 22, 2022
1 parent 639fa95 commit ec23c4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const CandidateCard = ({
<StatsValue>
<ValueInJoys>{formatTokenValue(stake)}</ValueInJoys>
</StatsValue>
<Subscription>My stake</Subscription>
<Subscription>Staked</Subscription>
</CandidateCardStake>
)}
{withdrawable && (
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/test/council/pages/Election.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ describe('UI: Election page', () => {
})

expect(queryAllByText(/newcomer/i).length).toBe(1)
expect(queryAllByText(/my stake/i).length).toBe(1)
expect(queryAllByText(/Staked/i).length).toBe(1)
expect(await getButton(/^Withdraw Candidacy/)).toBeDefined()
})
})
Expand Down

1 comment on commit ec23c4f

@vercel
Copy link

@vercel vercel bot commented on ec23c4f Jul 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

pioneer-2 – ./

pioneer-2-git-dev-joystream.vercel.app
pioneer-2-joystream.vercel.app
pioneer-2.vercel.app

Please sign in to comment.