Closed karelianpie closed 2 years ago
Follow up on https://github.com/yearn/yearn-finance-v3/pull/741
Replace the usage of the Transaction component in Gauges/StakeTx and Gauges/Unstake with SimpleTransaction component.
Transaction
SimpleTransaction
Uses the error and success state of the Transaction component.
Simplify the component to its essentials.
Ran locally, refer to screenshots below
Description
Follow up on https://github.com/yearn/yearn-finance-v3/pull/741
Replace the usage of the
Transaction
component in Gauges/StakeTx and Gauges/Unstake withSimpleTransaction
component.Uses the error and success state of the
Transaction
component.Motivation and Context
Simplify the component to its essentials.
How Has This Been Tested?
Ran locally, refer to screenshots below
Screenshots (if appropriate):
Stake
Unstake
Error
Success