Closed kathaypacific closed 2 years ago
@lisaqyli i fixed the bug that we saw with the zap out amount looking weird :) so i think zap in and out should be working correctly now.
just had a thought on the button states, maybe these 2 button states can be reversed? i was in the zap out view but the zap out button became greyed out which i guess makes sense as it's disabled, but also kind of looks like the entire "zap out" functionality is disabled - maybe we should have a highlighted look instead of a disabled look?
TODO:
useCompoundRegistry
. i think the easiest way to do this is to makeuseCompoundRegistry
listen to a redux variable and re-call the contract after a user action