saddle-finance / saddle-frontend

An open source UI for saddle.finance 🤠
https://saddle.exchange
54 stars 58 forks source link

Added approval to token on stake click #1113

Closed arthur-zhuk closed 2 years ago

arthur-zhuk commented 2 years ago

Token approval check was missing prior to staking into gauge click.

codecov[bot] commented 2 years ago

Codecov Report

Merging #1113 (047c0f1) into master (e7823a4) will decrease coverage by 0.00%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #1113      +/-   ##
==========================================
- Coverage   10.35%   10.34%   -0.01%     
==========================================
  Files         151      151              
  Lines        5467     5470       +3     
  Branches     1736     1736              
==========================================
  Hits          566      566              
- Misses       4899     4902       +3     
  Partials        2        2              
Impacted Files Coverage Δ
src/components/MyFarm.tsx 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e7823a4...047c0f1. Read the comment docs.