Skip to content

fix(earn): display correct amounts on input amount token toggle

Codecov / codecov/patch succeeded Oct 16, 2024 in 1s

74.77% of diff hit (within 5.00% threshold of 75.00%)

View this Pull Request on Codecov

74.77% of diff hit (within 5.00% threshold of 75.00%)

Annotations

Check warning on line 86 in src/earn/EarnEnterAmount.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/earn/EarnEnterAmount.tsx#L86

Added line #L86 was not covered by tests

Check warning on line 143 in src/earn/EarnEnterAmount.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/earn/EarnEnterAmount.tsx#L143

Added line #L143 was not covered by tests

Check warning on line 309 in src/earn/EarnEnterAmount.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/earn/EarnEnterAmount.tsx#L309

Added line #L309 was not covered by tests

Check warning on line 613 in src/earn/EarnEnterAmount.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/earn/EarnEnterAmount.tsx#L613

Added line #L613 was not covered by tests

Check warning on line 506 in src/earn/EarnPoolInfoScreen.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/earn/EarnPoolInfoScreen.tsx#L506

Added line #L506 was not covered by tests

Check warning on line 156 in src/earn/prepareTransactions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/earn/prepareTransactions.ts#L148-L156

Added lines #L148 - L156 were not covered by tests

Check warning on line 168 in src/earn/prepareTransactions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/earn/prepareTransactions.ts#L166-L168

Added lines #L166 - L168 were not covered by tests

Check warning on line 186 in src/earn/prepareTransactions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/earn/prepareTransactions.ts#L186

Added line #L186 was not covered by tests

Check warning on line 195 in src/earn/prepareTransactions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/earn/prepareTransactions.ts#L195

Added line #L195 was not covered by tests

Check warning on line 198 in src/earn/prepareTransactions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/earn/prepareTransactions.ts#L198

Added line #L198 was not covered by tests

Check warning on line 203 in src/earn/prepareTransactions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/earn/prepareTransactions.ts#L201-L203

Added lines #L201 - L203 were not covered by tests

Check warning on line 208 in src/earn/prepareTransactions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/earn/prepareTransactions.ts#L208

Added line #L208 was not covered by tests