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: wrong colors import #5570

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Conversation

jeanregisser
Copy link
Member

Description

Noticed those 2 incorrect imports.

Test plan

  • Right colors used.

Related issues

  • N/A

Backwards compatibility

Yes

Network scalability

If a new NetworkId and/or Network are added in the future, the changes in this PR will:

  • Continue to work without code changes, OR trigger a compilation error (guaranteeing we find it when a new network is added)

import { WebViewEvents } from 'src/analytics/Events'
import ValoraAnalytics from 'src/analytics/ValoraAnalytics'
import colors from 'src/styles/colors'
import { Colors } from 'src/styles/colors'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably get rid of having both the default and the named export at some point.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.48%. Comparing base (369a269) to head (c984265).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##             main    #5570    +/-   ##
========================================
  Coverage   86.47%   86.48%            
========================================
  Files         764      764            
  Lines       31497    31496     -1     
  Branches     5452     5452            
========================================
+ Hits        27237    27239     +2     
+ Misses       4217     4025   -192     
- Partials       43      232   +189     
Files Coverage Δ
src/earn/EarnApyAndAmount.tsx 100.00% <100.00%> (ø)
src/webview/WebViewAndroidBottomSheet.tsx 100.00% <100.00%> (ø)

... and 78 files 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 369a269...c984265. Read the comment docs.

@jeanregisser jeanregisser added this pull request to the merge queue Jun 25, 2024
Merged via the queue into main with commit 647104b Jun 25, 2024
16 checks passed
@jeanregisser jeanregisser deleted the jeanregisser/fix-wrong-color-import branch June 25, 2024 15:08
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.

3 participants