Skip to content

Commit

Permalink
Fixes after QA (#530)
Browse files Browse the repository at this point in the history
* Return voter status icons

* tokens -> API3 tokens
  • Loading branch information
peterjurco committed Feb 20, 2025
1 parent ee64613 commit d256dd5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions public/voted-against.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/voted-for.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/pages/dashboard/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ const Dashboard = () => {
)}
<Modal open={openModal === 'withdraw'} onClose={closeModal}>
<TokenAmountForm
title="How many tokens would you like to withdraw?"
title="How many API3 tokens would you like to withdraw?"
action="Withdraw"
onConfirm={async (parsedValue: BigNumber) => {
if (!api3Pool) return;
Expand All @@ -210,7 +210,7 @@ const Dashboard = () => {
</Modal>
<Modal open={openModal === 'stake'} onClose={closeModal}>
<TokenAmountForm
title="How many tokens would you like to stake?"
title="How many API3 tokens would you like to stake?"
action="Stake"
onConfirm={async (parsedValue: BigNumber) => {
if (!api3Pool) return;
Expand All @@ -228,7 +228,7 @@ const Dashboard = () => {
</Modal>
<Modal open={openModal === 'unstake'} onClose={closeModal}>
<TokenAmountForm
title="How many tokens would you like to unstake?"
title="How many API3 tokens would you like to unstake?"
action="Initiate Unstaking"
onConfirm={(value) => {
// NOTE: We are explicitly not closing modal, because it triggers the confirmation modal
Expand Down
2 changes: 1 addition & 1 deletion src/pages/dashboard/forms/token-deposit-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const TokenDepositForm = (props: Props) => {

return (
<>
<ModalHeader>How many tokens would you like to deposit?</ModalHeader>
<ModalHeader>How many API3 tokens would you like to deposit?</ModalHeader>

<div className={styles.formContent}>
<div className={styles.inputWrapper}>
Expand Down

0 comments on commit d256dd5

Please sign in to comment.