forked from deriv-com/deriv-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
thisyahlen/chore: add error to all the sort in ESLint (deriv-com#10695)
- Loading branch information
1 parent
29ee48f
commit 7069713
Showing
17 changed files
with
202 additions
and
210 deletions.
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
1 change: 0 additions & 1 deletion
1
packages/wallets/src/components/JurisdictionModal/JurisdictionCardRow.tsx
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import React from 'react'; | ||
|
||
import './JurisdictionCardRow.scss'; | ||
|
||
type TJurisdictionCardRowProps = { | ||
|
1 change: 0 additions & 1 deletion
1
packages/wallets/src/components/JurisdictionModal/JurisdictionCardTag.tsx
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import React from 'react'; | ||
|
||
import './JurisdictionCardTag.scss'; | ||
|
||
type TJurisdictionCardTagProps = { | ||
|
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
82 changes: 41 additions & 41 deletions
82
...llets/src/components/JurisdictionModal/jurisdiction-contents/jurisdiction-bvi-contents.ts
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 |
---|---|---|
@@ -1,113 +1,113 @@ | ||
import { TJurisdictionCardItems } from './props.types'; | ||
|
||
export const getJurisdictionBviContents = (): TJurisdictionCardItems => ({ | ||
isOverHeaderAvailable: false, | ||
header: 'British Virgin Islands', | ||
contents: { | ||
synthetic: [ | ||
financial: [ | ||
{ | ||
description: 'Forex, Stocks, Stock indices, Commodities, and Cryptocurrencies', | ||
key: 'assets', | ||
title: 'Assets', | ||
description: 'Synthetics, Baskets and Derived FX', | ||
titleIndicators: { | ||
displayText: '170+', | ||
displayTextSkinColor: 'red-light', | ||
type: 'displayText', | ||
displayText: '40+', | ||
displayTextSkinColor: 'red-darker', | ||
}, | ||
}, | ||
{ | ||
clickableDescription: [ | ||
{ | ||
text: 'Dynamic Leverage', // onClick: toggleDynamicLeverage, | ||
type: 'link', | ||
}, | ||
], | ||
key: 'leverage', | ||
title: 'Leverage', | ||
titleIndicators: { | ||
type: 'displayText', | ||
displayText: '1:1000', | ||
displayTextSkinColor: 'yellow-light', | ||
type: 'displayText', | ||
}, | ||
}, | ||
{ | ||
key: 'verifications', | ||
title: 'Verifications', | ||
key: 'spreadsFrom', | ||
title: 'Spreads from', | ||
titleIndicators: { | ||
type: 'displayIcons', | ||
displayText: '0.5 pips', | ||
displayTextSkinColor: 'violet-dark', | ||
type: 'displayText', | ||
}, | ||
}, | ||
{ | ||
clickableDescription: [ | ||
{ | ||
type: 'link', | ||
text: 'Learn more', | ||
type: 'link', | ||
}, | ||
{ | ||
type: 'text', | ||
text: 'about verifications needed.', | ||
type: 'text', | ||
}, | ||
], | ||
key: 'verifications', | ||
title: 'Verifications', | ||
titleIndicators: { | ||
type: 'displayIcons', | ||
}, | ||
}, | ||
{ | ||
description: 'British Virgin Islands Financial Services Commission (License no. SIBA/L/18/1114)', | ||
key: 'regulator', | ||
title: 'Regulator/EDR', | ||
description: 'British Virgin Islands Financial Services Commission (License no. SIBA/L/18/1114)', | ||
}, | ||
], | ||
financial: [ | ||
synthetic: [ | ||
{ | ||
description: 'Synthetics, Baskets and Derived FX', | ||
key: 'assets', | ||
title: 'Assets', | ||
description: 'Forex, Stocks, Stock indices, Commodities, and Cryptocurrencies', | ||
titleIndicators: { | ||
displayText: '40+', | ||
displayTextSkinColor: 'red-darker', | ||
type: 'displayText', | ||
displayText: '170+', | ||
displayTextSkinColor: 'red-light', | ||
}, | ||
}, | ||
{ | ||
key: 'leverage', | ||
title: 'Leverage', | ||
titleIndicators: { | ||
type: 'displayText', | ||
displayText: '1:1000', | ||
displayTextSkinColor: 'yellow-light', | ||
}, | ||
clickableDescription: [ | ||
{ | ||
type: 'link', | ||
text: 'Dynamic Leverage', // onClick: toggleDynamicLeverage, | ||
}, | ||
], | ||
}, | ||
{ | ||
key: 'spreadsFrom', | ||
title: 'Spreads from', | ||
titleIndicators: { | ||
type: 'displayText', | ||
displayText: '0.5 pips', | ||
displayTextSkinColor: 'violet-dark', | ||
}, | ||
}, | ||
{ | ||
key: 'verifications', | ||
title: 'Verifications', | ||
titleIndicators: { | ||
type: 'displayIcons', | ||
}, | ||
clickableDescription: [ | ||
{ | ||
type: 'link', | ||
text: 'Learn more', | ||
type: 'link', | ||
}, | ||
{ | ||
type: 'text', | ||
text: 'about verifications needed.', | ||
type: 'text', | ||
}, | ||
], | ||
key: 'verifications', | ||
title: 'Verifications', | ||
titleIndicators: { | ||
type: 'displayIcons', | ||
}, | ||
}, | ||
{ | ||
description: 'British Virgin Islands Financial Services Commission (License no. SIBA/L/18/1114)', | ||
key: 'regulator', | ||
title: 'Regulator/EDR', | ||
description: 'British Virgin Islands Financial Services Commission (License no. SIBA/L/18/1114)', | ||
}, | ||
], | ||
}, | ||
header: 'British Virgin Islands', | ||
isOverHeaderAvailable: false, | ||
verificationDocs: { | ||
synthetic: ['documentNumber', 'nameAndAddress'], | ||
financial: ['documentNumber', 'nameAndAddress'], | ||
synthetic: ['documentNumber', 'nameAndAddress'], | ||
}, | ||
}); |
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
78 changes: 39 additions & 39 deletions
78
...ts/src/components/JurisdictionModal/jurisdiction-contents/jurisdiction-labuan-contents.ts
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 |
---|---|---|
@@ -1,102 +1,102 @@ | ||
import { TJurisdictionCardItems } from './props.types'; | ||
|
||
export const getJurisdictionLabuanContents = (): TJurisdictionCardItems => ({ | ||
overHeader: 'Straight-through processing', | ||
isOverHeaderAvailable: true, | ||
header: 'Labuan', | ||
contents: { | ||
synthetic: [ | ||
financial: [ | ||
{ | ||
description: 'Forex and Cryptocurrencies', | ||
key: 'assets', | ||
title: 'Assets', | ||
description: 'Forex and Cryptocurrencies', | ||
titleIndicators: { | ||
displayText: '80+', | ||
displayTextSkinColor: 'red-dark', | ||
type: 'displayText', | ||
}, | ||
}, | ||
{ | ||
key: 'leverage', | ||
title: 'Leverage', | ||
titleIndicators: { | ||
displayText: '1:100', | ||
displayTextSkinColor: 'yellow-dark', | ||
type: 'displayText', | ||
}, | ||
}, | ||
{ | ||
key: 'spreadsFrom', | ||
title: 'Spreads from', | ||
}, | ||
{ | ||
key: 'verifications', | ||
title: 'Verifications', | ||
titleIndicators: { | ||
type: 'displayIcons', | ||
displayText: '0.6 pips', | ||
displayTextSkinColor: 'violet-dark', | ||
type: 'displayText', | ||
}, | ||
}, | ||
{ | ||
clickableDescription: [ | ||
{ | ||
type: 'link', | ||
text: 'Learn more', | ||
type: 'link', | ||
}, | ||
{ | ||
type: 'text', | ||
text: 'about verifications needed.', | ||
type: 'text', | ||
}, | ||
], | ||
key: 'verifications', | ||
title: 'Verifications', | ||
titleIndicators: { | ||
type: 'displayIcons', | ||
}, | ||
}, | ||
{ | ||
description: 'Labuan Financial Services Authority (licence no. MB/18/0024)', | ||
key: 'regulator', | ||
title: 'Regulator/EDR', | ||
description: 'Labuan Financial Services Authority (licence no. MB/18/0024)', | ||
}, | ||
], | ||
financial: [ | ||
synthetic: [ | ||
{ | ||
description: 'Forex and Cryptocurrencies', | ||
key: 'assets', | ||
title: 'Assets', | ||
description: 'Forex and Cryptocurrencies', | ||
titleIndicators: { | ||
type: 'displayText', | ||
displayText: '80+', | ||
displayTextSkinColor: 'red-dark', | ||
}, | ||
}, | ||
{ | ||
key: 'leverage', | ||
title: 'Leverage', | ||
titleIndicators: { | ||
type: 'displayText', | ||
displayText: '1:100', | ||
displayTextSkinColor: 'yellow-dark', | ||
}, | ||
}, | ||
{ | ||
key: 'spreadsFrom', | ||
title: 'Spreads from', | ||
titleIndicators: { | ||
type: 'displayText', | ||
displayText: '0.6 pips', | ||
displayTextSkinColor: 'violet-dark', | ||
}, | ||
}, | ||
{ | ||
key: 'verifications', | ||
title: 'Verifications', | ||
titleIndicators: { | ||
type: 'displayIcons', | ||
}, | ||
clickableDescription: [ | ||
{ | ||
type: 'link', | ||
text: 'Learn more', | ||
type: 'link', | ||
}, | ||
{ | ||
type: 'text', | ||
text: 'about verifications needed.', | ||
type: 'text', | ||
}, | ||
], | ||
key: 'verifications', | ||
title: 'Verifications', | ||
titleIndicators: { | ||
type: 'displayIcons', | ||
}, | ||
}, | ||
{ | ||
description: 'Labuan Financial Services Authority (licence no. MB/18/0024)', | ||
key: 'regulator', | ||
title: 'Regulator/EDR', | ||
description: 'Labuan Financial Services Authority (licence no. MB/18/0024)', | ||
}, | ||
], | ||
}, | ||
header: 'Labuan', | ||
isOverHeaderAvailable: true, | ||
overHeader: 'Straight-through processing', | ||
verificationDocs: { | ||
synthetic: ['documentNumber', 'nameAndAddress'], | ||
financial: ['documentNumber', 'nameAndAddress'], | ||
synthetic: ['documentNumber', 'nameAndAddress'], | ||
}, | ||
}); |
Oops, something went wrong.