interface
interface copied to clipboard
fix: display chart when tickCurrent is zero
Description
Updated the getActiveTick condition to recognize 0 as an acceptable tickAmount. This state can occur frequently when stable pools have a currentTick of zero.
Screen capture
Before
After
@maliabr is attempting to deploy a commit to the Uniswap Team on Vercel.
A member of the Team first needs to authorize it.
Codecov Report
Merging #7507 (e8b3db4) into main (6798bf3) will decrease coverage by
0.11%. Report is 57 commits behind head on main. The diff coverage is0.00%.
| Flag | Coverage Δ | |
|---|---|---|
| cloud-tests | ? |
|
| unit-tests | 43.12% <0.00%> (-0.01%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
!= null is a good way for us to standardize on as a check if something is anything except null/undefined (but wont remove 0, empty string etc).