Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI Bug] Approve Contract modal showing after a first approval is made #79

Open
brentmartin opened this issue Sep 7, 2022 · 3 comments
Assignees

Comments

@brentmartin
Copy link

brentmartin commented Sep 7, 2022

Issue:

Once we initially approve our contract to engage with the smart contract, the approve contract message shouldn't show and request another approval.

Acceptance Criteria:

WHEN a user has approved a their GTC to be used on the Staking Smart Contract
AND they click "Modify Stake" to see their staking
THEN they should see how much GTC they have staked reflected in the input field
AND they should not see a message prompting them to approve GTC to interact with the smart contract a second time

@brentmartin
Copy link
Author

Image
Image
Image
Image

@brentmartin
Copy link
Author

When this happens - if I click the "Modify Stake" button on *Community Staking - it forces the contract approval modal to disappear for Community staking

And when I click on Self Staking again, the modal is no longer there.

*worth noting that I have not made any Community Stakings

disappears:
Image

and no longer there:
Image

@farque65
Copy link
Contributor

Closed by #90

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants