forked from deriv-com/deriv-app
-
Notifications
You must be signed in to change notification settings - Fork 0
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
hamid/enhance-wallet-card #1
Merged
aum-deriv
merged 9 commits into
aum-deriv:aum/WALL-278/create-wallet-card-component
from
hamid-deriv:hamid/wallet-card-forked
May 23, 2023
Merged
Changes from 7 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
de15886
refactor: hamid-aum-forked-wallet-card
hamid-deriv 4c6d0c3
refactor: enhance-wallet-card
hamid-deriv 0777233
feat: enhance-wallet-card
hamid-deriv cd25763
Merge branch 'aum/WALL-278/create-wallet-card-component' into hamid/w…
hamid-deriv f38efbe
docs: add comment
hamid-deriv 0eb7b74
Merge branch 'hamid/wallet-card-forked' of github.com:hamid-deriv/der…
hamid-deriv 01235ac
revert: revert trader-hub home page
hamid-deriv 1d149c4
refactor: refactor wallet-icon
hamid-deriv 434fbd3
fix: resolve comments
hamid-deriv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
// TODO: Remove this file once we have the real API response | ||
const wallets = [ | ||
{ | ||
name: 'USD Wallet', | ||
currency: 'usd', | ||
icon: 'IcCurrencyUsd', | ||
balance: '10,0000', | ||
type: 'fiat', | ||
state: 'default', | ||
jurisdiction_title: 'svg', | ||
}, | ||
{ | ||
name: 'USD Wallet', | ||
currency: 'usd', | ||
icon: 'IcCurrencyUsd', | ||
balance: '10,0000', | ||
type: 'fiat', | ||
state: 'default', | ||
jurisdiction_title: 'svg', | ||
}, | ||
{ | ||
name: 'MT5 Derived Demo', | ||
currency: 'usd', | ||
icon: 'IcRebrandingMt5Logo', | ||
wallet_icon: 'IcWalletDerivDemoLight', | ||
balance: '879', | ||
type: 'app', | ||
app: 'mt5', | ||
linked_wallet: 'deriv demo', | ||
state: 'default', | ||
jurisdiction_title: 'svg', | ||
is_demo: true, | ||
}, | ||
{ | ||
name: 'MT5 Derived Demo', | ||
currency: 'usd', | ||
icon: 'IcRebrandingMt5Logo', | ||
wallet_icon: null, | ||
balance: '879', | ||
type: 'app', | ||
app: 'mt5', | ||
linked_wallet: null, | ||
state: 'default', | ||
jurisdiction_title: 'svg', | ||
is_demo: true, | ||
}, | ||
{ | ||
name: 'Bitcoin Wallet', | ||
currency: 'bitcoin', | ||
icon: 'IcCashierBitcoinLight', | ||
balance: '0.003546', | ||
type: 'payment', | ||
state: 'default', | ||
jurisdiction_title: 'svg', | ||
}, | ||
]; | ||
|
||
export default wallets; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@hamid-deriv Do we need this? It's not being used anywhere 🤔
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.
Actually, It will be used on the trader's hub home page for testing purposes. As the home page is not in this PR's scope, I didn't push the index file. but this file should be in the project to know what the wallet schema should look like.