saddle-finance / saddle-frontend

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

Fix staking max input #1161

Closed hammeiam closed 2 years ago

hammeiam commented 2 years ago

TokenInput max value needs to be an unformatted string - will break if given something with more than one comma and/or period. Verified that this is the only instance of max being formatted

codecov[bot] commented 2 years ago

Codecov Report

Merging #1161 (a67f8b8) into master (42ab460) will not change coverage. The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master    #1161   +/-   ##
=======================================
  Coverage   10.86%   10.86%           
=======================================
  Files         154      154           
  Lines        5642     5642           
  Branches     1788     1788           
=======================================
  Hits          613      613           
  Misses       5027     5027           
  Partials        2        2           
Impacted Files Coverage Δ
src/components/TokenInput.tsx 0.00% <ø> (ø)
src/pages/Farm/StakeDialog.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 42ab460...a67f8b8. Read the comment docs.

nkrulikovsky commented 2 years ago

Don't merge. Let me check one more.