-
Notifications
You must be signed in to change notification settings - Fork 394
thisyahlen/feat: add CFD section to wallets #10092
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
thisyahlen/feat: add CFD section to wallets #10092
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
A production App ID was automatically generated for this PR. (log)
Click here to copy & paste above information. |
|
🚨 Lighthouse report for the changes in this PR:
Lighthouse ran with https://deriv-app-git-fork-thisyahlen-deriv-thisyahlen-addcfdsec-3aaa58.binary.sx/ |
…hisyahlen/add_cfd_section_to_wallets
…hisyahlen/add_cfd_section_to_wallets
…hisyahlen/add_cfd_section_to_wallets
| }, | ||
| ]; | ||
|
|
||
| const OtherCFDPlatformsList: React.FC = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| const OtherCFDPlatformsList: React.FC = () => { | |
| const NonMT5CFDPlatformsList: React.FC = () => { |
How about this? 🤔
| type TProps = { | ||
| description: string; | ||
| icon: ReactElement; | ||
| icon: React.ReactNode; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we go with React.ReactNode instead of ReactElement? just wanna clarify the standard
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to go with reactNode cause its more flexible in terms of children and it doesnt get executed if the function is not fired
…hisyahlen/add_cfd_section_to_wallets
…hisyahlen/add_cfd_section_to_wallets
packages/wallets/src/components/OtherCFDPlatformsList/OtherCFDPlatformsList.tsx
Outdated
Show resolved
Hide resolved
|
SonarCloud Quality Gate failed.
|











Changes:
Please provide a summary of the change.
Screenshots:
Please provide some screenshots of the change.
