Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cico): fix crash on bottom sheet when token list is empty #5390

Merged
merged 1 commit into from
May 6, 2024

Conversation

satish-ravi
Copy link
Contributor

@satish-ravi satish-ravi commented May 4, 2024

Description

Crashes when token list is empty, which attempts to render a 0 outside of a <Text> component

Test plan

Unit tests, manually by emptying token list

Related issues

N/A

Backwards compatibility

Yes

Network scalability

N/A

Copy link

codecov bot commented May 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.09%. Comparing base (9aae469) to head (8a65a76).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #5390   +/-   ##
=======================================
  Coverage   86.09%   86.09%           
=======================================
  Files         737      737           
  Lines       30016    30016           
  Branches     5143     5143           
=======================================
+ Hits        25841    25842    +1     
+ Misses       3948     3947    -1     
  Partials      227      227           
Files Coverage Δ
.../fiatExchanges/FiatExchangeCurrencyBottomSheet.tsx 88.37% <100.00%> (ø)

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

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

@satish-ravi satish-ravi added this pull request to the merge queue May 6, 2024
Merged via the queue into main with commit 6df3859 May 6, 2024
17 checks passed
@satish-ravi satish-ravi deleted the satish/fix-cico-bottom-sheet branch May 6, 2024 18:26
shottah pushed a commit to zed-io/kolektivo that referenced this pull request May 15, 2024
…-inc#5390)

### Description

Crashes when token list is empty, which attempts to render a 0 outside
of a `<Text>` component

### Test plan

Unit tests, manually by emptying token list

### Related issues

N/A

### Backwards compatibility

Yes

### Network scalability

N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants