Compare commits
21
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
51803780ba | ||
|
|
1495ecde98 | ||
|
|
569090db6b | ||
|
|
790a1f13db | ||
|
|
9b7fe27606 | ||
|
|
3ec9c2442e | ||
|
|
f111f54295 | ||
|
|
ed84a8a66b | ||
|
|
58fde4ce96 | ||
|
|
59ef66ffe1 | ||
|
|
ae102b8990 | ||
|
|
d72846670f | ||
|
|
93f8ef7cce | ||
|
|
4563fdab03 | ||
|
|
7309f88515 | ||
|
|
67ad0defce | ||
|
|
ea10585b89 | ||
|
|
6fc037ddeb | ||
|
|
292e16603d | ||
|
|
69d00e39ef | ||
|
|
eee19b3b93 |
@@ -90,10 +90,10 @@ BNB,Binance,BNBUSDT,2315487.589,299938471.1,292.0261567,A,6,2,Binance Coin,USDT-
|
|||||||
BNB,Bybit,BNBUSDT,73840.12419,11584488.51,291.812684,A,6,2,Binance Coin,USDT-USD
|
BNB,Bybit,BNBUSDT,73840.12419,11584488.51,291.812684,A,6,2,Binance Coin,USDT-USD
|
||||||
BNB,Gate,BNB_USDT,50000,100000,0,A,6,2,Binance Coin,USDT-USD
|
BNB,Gate,BNB_USDT,50000,100000,0,A,6,2,Binance Coin,USDT-USD
|
||||||
BONK,Bybit,BONKUSDT,91223.30674,10108782.84,1.09E-05,A,6,2,Bonk Token,USDT-USD
|
BONK,Bybit,BONKUSDT,91223.30674,10108782.84,1.09E-05,A,6,2,Bonk Token,USDT-USD
|
||||||
BONK,Mexc,BONK_USDT,880507.727,1996432.036,1.1E-05,A,6,2,Bonk Token,USDT-USD
|
BONK,Mexc,BONK_USDT,880507.727,1996432.036,1.10E-05,A,6,2,Bonk Token,USDT-USD
|
||||||
BONK,Binance,BONKUSDT,496236.8093,63520367.26,1.09E-05,A,6,2,Bonk Token,USDT-USD
|
BONK,Binance,BONKUSDT,496236.8093,63520367.26,1.09E-05,A,6,2,Bonk Token,USDT-USD
|
||||||
BONK,Okx,BONK-USDT,84194.41757,4939704.699,1.09E-05,A,6,2,Bonk Token,USDT-USD
|
BONK,Okx,BONK-USDT,84194.41757,4939704.699,1.09E-05,A,6,2,Bonk Token,USDT-USD
|
||||||
BONK,CoinbasePro,BONK-USD,291120.8766,24041618.38,1.1E-05,A,6,2,Bonk Token,
|
BONK,CoinbasePro,BONK-USD,291120.8766,24041618.38,1.10E-05,A,6,2,Bonk Token,
|
||||||
BONK,Kucoin,BONK-USDT,104413.0879,5795566.827,1.09E-05,A,6,2,Bonk Token,USDT-USD
|
BONK,Kucoin,BONK-USDT,104413.0879,5795566.827,1.09E-05,A,6,2,Bonk Token,USDT-USD
|
||||||
BTC,Kucoin,BTC-USDT,1385049.373,192647255.8,39920.8141,A,9,1,Bitcoin,USDT-USD
|
BTC,Kucoin,BTC-USDT,1385049.373,192647255.8,39920.8141,A,9,1,Bitcoin,USDT-USD
|
||||||
BTC,Mexc,BTC_USDT,6055794.786,468890338.6,39929.87241,A,9,1,Bitcoin,USDT-USD
|
BTC,Mexc,BTC_USDT,6055794.786,468890338.6,39929.87241,A,9,1,Bitcoin,USDT-USD
|
||||||
@@ -367,11 +367,12 @@ SUI,Binance,SUIUSDT,1262079.981,111516956.8,1.223930951,A,6,2,SuiNetwork,USDT-US
|
|||||||
SUI,CoinbasePro,SUI-USD,164063.7043,14862283.81,1.225266393,A,6,2,SuiNetwork,
|
SUI,CoinbasePro,SUI-USD,164063.7043,14862283.81,1.225266393,A,6,2,SuiNetwork,
|
||||||
SUI,Bybit,SUIUSDT,212067.1354,19630489.94,1.225408738,A,6,2,SuiNetwork,USDT-USD
|
SUI,Bybit,SUIUSDT,212067.1354,19630489.94,1.225408738,A,6,2,SuiNetwork,USDT-USD
|
||||||
SUI,Okx,SUI-USDT,613217.7334,54191478.11,1.223865903,A,6,2,SuiNetwork,USDT-USD
|
SUI,Okx,SUI-USDT,613217.7334,54191478.11,1.223865903,A,6,2,SuiNetwork,USDT-USD
|
||||||
SUSHI,Mexc,SUSHI_USDT,698897.3305,162827.6862,1.069891177,B,5,2,Sushi,USDT-USD
|
SUSHI,Mexc,SUSHI_USDT,698897.3305,162827.6862,1.069891177,A,6,2,Sushi,USDT-USD
|
||||||
SUSHI,Binance,SUSHIUSDT,314905.5164,8301205.3,1.070356721,B,5,2,Sushi,USDT-USD
|
SUSHI,Binance,SUSHIUSDT,314905.5164,8301205.3,1.070356721,A,6,2,Sushi,USDT-USD
|
||||||
SUSHI,Okx,SUSHI-USDT,140667.711,3610840.809,1.067487683,B,5,2,Sushi,USDT-USD
|
SUSHI,Okx,SUSHI-USDT,140667.711,3610840.809,1.067487683,A,6,2,Sushi,USDT-USD
|
||||||
SUSHI,Kraken,SUSHIUSD,60333.51362,206177.6733,1.075978241,B,5,2,Sushi,
|
SUSHI,Kraken,SUSHIUSD,60333.51362,206177.6733,1.075978241,A,6,2,Sushi,
|
||||||
SUSHI,CoinbasePro,SUSHI-USD,84615.09476,3085188.166,1.072066002,B,5,2,Sushi,
|
SUSHI,CoinbasePro,SUSHI-USD,84615.09476,3085188.166,1.072066002,A,6,2,Sushi,
|
||||||
|
SUSHI,Gate,SUSHI_USDT,50000,100000,0,A,6,2,Sushi,USDT-USD
|
||||||
TIA,Bybit,TIAUSDT,187918.6442,14660427.8,15.52650347,A,7,2,Celestia,USDT-USD
|
TIA,Bybit,TIAUSDT,187918.6442,14660427.8,15.52650347,A,7,2,Celestia,USDT-USD
|
||||||
TIA,Binance,TIAUSDT,841382.0946,102103230.5,15.53648038,A,7,2,Celestia,USDT-USD
|
TIA,Binance,TIAUSDT,841382.0946,102103230.5,15.53648038,A,7,2,Celestia,USDT-USD
|
||||||
TIA,CoinbasePro,TIA-USD,383069.4815,25165071.27,15.51546599,A,7,2,Celestia,
|
TIA,CoinbasePro,TIA-USD,383069.4815,25165071.27,15.51546599,A,7,2,Celestia,
|
||||||
@@ -700,10 +701,4 @@ ZEC,Binance,ZECUSDT,107748.7569,6231023.464,22.06774527,C,2,2,Zcash,USDT-USD
|
|||||||
ZEN,Binance,ZENUSDT,121239.4862,5983871.133,7.622205603,C,1,2,Horizen,USDT-USD
|
ZEN,Binance,ZENUSDT,121239.4862,5983871.133,7.622205603,C,1,2,Horizen,USDT-USD
|
||||||
ZIL,Binance,ZILUSDT,78122.06511,5951041.305,0.01981457877,C,3,2,Zilliqa,USDT-USD
|
ZIL,Binance,ZILUSDT,78122.06511,5951041.305,0.01981457877,C,3,2,Zilliqa,USDT-USD
|
||||||
ZIL,Mexc,ZIL_USDT,164288.1689,136450.7828,0.01983149916,C,3,2,Zilliqa,USDT-USD
|
ZIL,Mexc,ZIL_USDT,164288.1689,136450.7828,0.01983149916,C,3,2,Zilliqa,USDT-USD
|
||||||
ZIL,Kucoin,ZIL-USDT,51622.45768,620061.2048,0.0198240821,C,3,2,Zilliqa,USDT-USD
|
ZIL,Kucoin,ZIL-USDT,51622.45768,620061.2048,0.0198240821,C,3,2,Zilliqa,USDT-U
|
||||||
JUP,Kucoin,JUP-USDT,72000,9000000,0.69,A,6,2,Jupiter,USDT-USD
|
|
||||||
JUP,Okx,JUP-USDT,64000,29000000,0.69,A,6,2,Jupiter,USDT-USD
|
|
||||||
JUP,Binance,JUPUSDT,500000,96000000,0.69,A,6,2,Jupiter,USDT-USD
|
|
||||||
JUP,Bybit,JUPUSDT,100000,35000000,0.69,A,6,2,Jupiter,USDT-USD
|
|
||||||
JUP,Gate,JUP_USDT,35000,900000,0.68,A,6,2,Jupiter,USDT-USD
|
|
||||||
JUP,Mexc,JUP_USDT,20000,6000000,0.69,A,6,2,Jupiter,USDT-USD
|
|
||||||
|
|||||||
|
@@ -35,7 +35,6 @@ HBAR,0.07127967284,7,2,Hedera Hashgraph,-2,-4,3,4000,-11,1000000,-3,1000000,1000
|
|||||||
ICP,11.47442186,7,2,Internet Computer,1,-7,3,4000,-8,1000000,-3,1000000,1000000,-9
|
ICP,11.47442186,7,2,Internet Computer,1,-7,3,4000,-8,1000000,-3,1000000,1000000,-9
|
||||||
INJ,31.78305093,7,2,Injective Protocol,1,-7,3,4000,-8,1000000,-3,1000000,1000000,-9
|
INJ,31.78305093,7,2,Injective Protocol,1,-7,3,4000,-8,1000000,-3,1000000,1000000,-9
|
||||||
JTO,1.886208515,6,2,Jito,0,-6,3,4000,-9,1000000,-3,1000000,1000000,-9
|
JTO,1.886208515,6,2,Jito,0,-6,3,4000,-9,1000000,-3,1000000,1000000,-9
|
||||||
JUP,0.69,6,2,Jupiter,-1,-5,3,4000,-10,1000000,-3,1000000,1000000,-9
|
|
||||||
KAVA,0.5751546332,6,2,Kava,-1,-5,3,4000,-10,1000000,-3,1000000,1000000,-9
|
KAVA,0.5751546332,6,2,Kava,-1,-5,3,4000,-10,1000000,-3,1000000,1000000,-9
|
||||||
LDO,2.524539255,8,2,Lido DAO,0,-6,3,4000,-9,1000000,-3,1000000,1000000,-9
|
LDO,2.524539255,8,2,Lido DAO,0,-6,3,4000,-9,1000000,-3,1000000,1000000,-9
|
||||||
LINK,13.81655633,8,1,ChainLink,1,-7,3,2500,-8,1000000,-3,1000000,1000000,-9
|
LINK,13.81655633,8,1,ChainLink,1,-7,3,2500,-8,1000000,-3,1000000,1000000,-9
|
||||||
|
|||||||
|
@@ -50,11 +50,11 @@ export const ComboboxMenu = <MenuItemValue extends string, MenuGroupValue extend
|
|||||||
label={title}
|
label={title}
|
||||||
// value={highlightedCommand}
|
// value={highlightedCommand}
|
||||||
// onValueChange={setHighlightedCommand}
|
// onValueChange={setHighlightedCommand}
|
||||||
filter={(value: string, search: string) =>
|
filter={(value: string, search: string) => {
|
||||||
value.replace(/ /g, '').toLowerCase().includes(search.replace(/ /g, '').toLowerCase())
|
value.replace(/ /g, '').toLowerCase().includes(search.replace(/ /g, '').toLowerCase())
|
||||||
? 1
|
? 1
|
||||||
: 0
|
: 0;
|
||||||
}
|
}}
|
||||||
className={className}
|
className={className}
|
||||||
$withStickyLayout={withStickyLayout}
|
$withStickyLayout={withStickyLayout}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -6,34 +6,29 @@ import { StoryWrapper } from '.ladle/components';
|
|||||||
|
|
||||||
export const DropdownMenuStory: Story<Parameters<typeof DropdownMenu>> = (args) => {
|
export const DropdownMenuStory: Story<Parameters<typeof DropdownMenu>> = (args) => {
|
||||||
const exampleItems = [
|
const exampleItems = [
|
||||||
{
|
|
||||||
value: '0',
|
|
||||||
label: 'Item 0',
|
|
||||||
onSelect: () => alert('Item 0 action'),
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
value: '1',
|
value: '1',
|
||||||
label: 'Item 1 (accent)',
|
label: 'Item 1',
|
||||||
onSelect: () => alert('Item 1 action'),
|
onSelect: () => alert('Item 1 action'),
|
||||||
highlightColor: 'accent',
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: '2',
|
value: '2',
|
||||||
label: 'Item 2 (create)',
|
label: 'Item 2',
|
||||||
onSelect: () => alert('Item 2 action'),
|
onSelect: () => alert('Item 2 action'),
|
||||||
highlightColor: 'create',
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: '3',
|
value: '3',
|
||||||
label: 'Item 3 (destroy)',
|
label: 'Item 3',
|
||||||
onSelect: () => alert('Item 3 action'),
|
onSelect: () => alert('Item 3 action'),
|
||||||
highlightColor: 'destroy',
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<StoryWrapper>
|
<StoryWrapper>
|
||||||
<DropdownMenu {...args} items={exampleItems}>
|
<DropdownMenu
|
||||||
|
{...args}
|
||||||
|
items={exampleItems}
|
||||||
|
>
|
||||||
<span>Menu</span>
|
<span>Menu</span>
|
||||||
</DropdownMenu>
|
</DropdownMenu>
|
||||||
</StoryWrapper>
|
</StoryWrapper>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export type DropdownMenuItem<T> = {
|
|||||||
label: React.ReactNode;
|
label: React.ReactNode;
|
||||||
onSelect?: () => void;
|
onSelect?: () => void;
|
||||||
separator?: boolean;
|
separator?: boolean;
|
||||||
highlightColor?: 'accent' | 'create' | 'destroy';
|
highlightColor?: 'accent' | 'positive' | 'negative';
|
||||||
};
|
};
|
||||||
|
|
||||||
type StyleProps = {
|
type StyleProps = {
|
||||||
@@ -82,7 +82,7 @@ Styled.Separator = styled(Separator)`
|
|||||||
margin: 0.25rem 1rem;
|
margin: 0.25rem 1rem;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
Styled.Item = styled(Item)<{ $highlightColor: 'accent' | 'create' | 'destroy' }>`
|
Styled.Item = styled(Item)<{ $highlightColor: 'accent' | 'positive' | 'negative' }>`
|
||||||
${popoverMixins.item}
|
${popoverMixins.item}
|
||||||
--item-font-size: var(--dropdownMenu-item-font-size);
|
--item-font-size: var(--dropdownMenu-item-font-size);
|
||||||
${({ $highlightColor }) =>
|
${({ $highlightColor }) =>
|
||||||
@@ -90,10 +90,10 @@ Styled.Item = styled(Item)<{ $highlightColor: 'accent' | 'create' | 'destroy' }>
|
|||||||
['accent']: `
|
['accent']: `
|
||||||
--item-highlighted-textColor: var(--color-accent);
|
--item-highlighted-textColor: var(--color-accent);
|
||||||
`,
|
`,
|
||||||
['create']: `
|
['positive']: `
|
||||||
--item-highlighted-textColor: var(--color-success);
|
--item-highlighted-textColor: var(--color-success);
|
||||||
`,
|
`,
|
||||||
['destroy']: `
|
['negative']: `
|
||||||
--item-highlighted-textColor: var(--color-error);
|
--item-highlighted-textColor: var(--color-error);
|
||||||
`,
|
`,
|
||||||
}[$highlightColor])}
|
}[$highlightColor])}
|
||||||
|
|||||||
@@ -433,8 +433,7 @@ export const useSubaccountContext = ({ localDydxWallet }: { localDydxWallet?: Lo
|
|||||||
params,
|
params,
|
||||||
utils.getGovAddNewMarketTitle(params.ticker),
|
utils.getGovAddNewMarketTitle(params.ticker),
|
||||||
utils.getGovAddNewMarketSummary(params.ticker, newMarketProposal.delayBlocks),
|
utils.getGovAddNewMarketSummary(params.ticker, newMarketProposal.delayBlocks),
|
||||||
// @ts-ignore - Need to change type in v4-client-js
|
newMarketProposal.initialDepositAmount
|
||||||
BigInt(newMarketProposal.initialDepositAmount).toString()
|
|
||||||
);
|
);
|
||||||
|
|
||||||
return response;
|
return response;
|
||||||
|
|||||||
@@ -19,8 +19,10 @@ import { layoutMixins } from '@/styles/layoutMixins';
|
|||||||
import { Themes } from '@/styles/themes';
|
import { Themes } from '@/styles/themes';
|
||||||
|
|
||||||
import { STRING_KEYS } from '@/constants/localization';
|
import { STRING_KEYS } from '@/constants/localization';
|
||||||
|
import { NumberSign } from '@/constants/numbers';
|
||||||
|
|
||||||
import { Dialog } from '@/components/Dialog';
|
import { Dialog } from '@/components/Dialog';
|
||||||
|
import { DiffArrow } from '@/components/DiffArrow';
|
||||||
import { Icon, IconName } from '@/components/Icon';
|
import { Icon, IconName } from '@/components/Icon';
|
||||||
import { HorizontalSeparatorFiller } from '@/components/Separator';
|
import { HorizontalSeparatorFiller } from '@/components/Separator';
|
||||||
|
|
||||||
@@ -39,7 +41,6 @@ export const DisplaySettingsDialog = ({ setIsOpen }: ElementProps) => {
|
|||||||
const sectionHeader = (heading: string) => {
|
const sectionHeader = (heading: string) => {
|
||||||
return (
|
return (
|
||||||
<Styled.Header>
|
<Styled.Header>
|
||||||
{heading}
|
|
||||||
{heading}
|
{heading}
|
||||||
<HorizontalSeparatorFiller />
|
<HorizontalSeparatorFiller />
|
||||||
</Styled.Header>
|
</Styled.Header>
|
||||||
@@ -67,12 +68,7 @@ export const DisplaySettingsDialog = ({ setIsOpen }: ElementProps) => {
|
|||||||
label: STRING_KEYS.LIGHT,
|
label: STRING_KEYS.LIGHT,
|
||||||
},
|
},
|
||||||
].map(({ themeSetting, label }) => {
|
].map(({ themeSetting, label }) => {
|
||||||
const theme =
|
const theme = themeSetting === AppThemeSystemSetting.System ? currentTheme : themeSetting;
|
||||||
themeSetting === AppThemeSystemSetting.System
|
|
||||||
? globalThis.matchMedia('(prefers-color-scheme: dark)').matches
|
|
||||||
? AppTheme.Dark
|
|
||||||
: AppTheme.Light
|
|
||||||
: themeSetting;
|
|
||||||
|
|
||||||
const backgroundColor = Themes[theme][currentColorMode].layer2;
|
const backgroundColor = Themes[theme][currentColorMode].layer2;
|
||||||
const gridColor = Themes[theme][currentColorMode].borderDefault;
|
const gridColor = Themes[theme][currentColorMode].borderDefault;
|
||||||
@@ -123,18 +119,20 @@ export const DisplaySettingsDialog = ({ setIsOpen }: ElementProps) => {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Styled.ColorPreferenceLabel>
|
<Styled.ColorPreferenceLabel>
|
||||||
<Styled.ArrowIconContainer>
|
<Styled.DiffArrowContainer>
|
||||||
<Styled.ArrowIcon
|
<Styled.DiffArrow
|
||||||
iconName={IconName.Arrow}
|
|
||||||
direction="up"
|
direction="up"
|
||||||
color={colorMode === AppColorMode.GreenUp ? 'green' : 'red'}
|
sign={
|
||||||
|
colorMode === AppColorMode.GreenUp ? NumberSign.Positive : NumberSign.Negative
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
<Styled.ArrowIcon
|
<Styled.DiffArrow
|
||||||
iconName={IconName.Arrow}
|
|
||||||
direction="down"
|
direction="down"
|
||||||
color={colorMode === AppColorMode.GreenUp ? 'red' : 'green'}
|
sign={
|
||||||
|
colorMode === AppColorMode.GreenUp ? NumberSign.Negative : NumberSign.Positive
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
</Styled.ArrowIconContainer>
|
</Styled.DiffArrowContainer>
|
||||||
{stringGetter({ key: label })}
|
{stringGetter({ key: label })}
|
||||||
</Styled.ColorPreferenceLabel>
|
</Styled.ColorPreferenceLabel>
|
||||||
<Styled.DotIndicator $selected={currentColorMode === colorMode} />
|
<Styled.DotIndicator $selected={currentColorMode === colorMode} />
|
||||||
@@ -263,36 +261,19 @@ Styled.ColorPreferenceLabel = styled.div`
|
|||||||
gap: 1ch;
|
gap: 1ch;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
Styled.ArrowIconContainer = styled.div`
|
Styled.DiffArrowContainer = styled.div`
|
||||||
${layoutMixins.column}
|
${layoutMixins.column}
|
||||||
gap: 0.5ch;
|
gap: 0.5ch;
|
||||||
|
|
||||||
svg {
|
|
||||||
height: 0.75em;
|
|
||||||
width: 0.75em;
|
|
||||||
}
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
Styled.ArrowIcon = styled(Icon)<{ direction: 'up' | 'down'; color: 'green' | 'red' }>`
|
Styled.DiffArrow = styled(DiffArrow)`
|
||||||
${({ direction }) =>
|
--diffArrow-color-positive: var(--color-success);
|
||||||
({
|
--diffArrow-color-negative: var(--color-error);
|
||||||
['up']: css`
|
|
||||||
transform: rotate(-90deg);
|
|
||||||
`,
|
|
||||||
['down']: css`
|
|
||||||
transform: rotate(90deg);
|
|
||||||
`,
|
|
||||||
}[direction])}
|
|
||||||
|
|
||||||
${({ color }) =>
|
svg {
|
||||||
({
|
width: 0.75em;
|
||||||
['green']: css`
|
height: 0.75em;
|
||||||
color: var(--color-success);
|
}
|
||||||
`,
|
|
||||||
['red']: css`
|
|
||||||
color: var(--color-error);
|
|
||||||
`,
|
|
||||||
}[color])}
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const indicatorStyle = css`
|
const indicatorStyle = css`
|
||||||
|
|||||||
@@ -203,7 +203,7 @@ export const AccountMenu = () => {
|
|||||||
value: 'MnemonicExport',
|
value: 'MnemonicExport',
|
||||||
icon: <Icon iconName={IconName.ExportKeys} />,
|
icon: <Icon iconName={IconName.ExportKeys} />,
|
||||||
label: <span>{stringGetter({ key: STRING_KEYS.EXPORT_SECRET_PHRASE })}</span>,
|
label: <span>{stringGetter({ key: STRING_KEYS.EXPORT_SECRET_PHRASE })}</span>,
|
||||||
highlightColor: 'destroy',
|
highlightColor: 'negative',
|
||||||
onSelect: () => dispatch(openDialog({ type: DialogTypes.MnemonicExport })),
|
onSelect: () => dispatch(openDialog({ type: DialogTypes.MnemonicExport })),
|
||||||
},
|
},
|
||||||
].filter(isTruthy)
|
].filter(isTruthy)
|
||||||
@@ -212,7 +212,7 @@ export const AccountMenu = () => {
|
|||||||
value: 'Disconnect',
|
value: 'Disconnect',
|
||||||
icon: <Icon iconName={IconName.BoxClose} />,
|
icon: <Icon iconName={IconName.BoxClose} />,
|
||||||
label: stringGetter({ key: STRING_KEYS.DISCONNECT }),
|
label: stringGetter({ key: STRING_KEYS.DISCONNECT }),
|
||||||
highlightColor: 'destroy',
|
highlightColor: 'negative',
|
||||||
onSelect: () => dispatch(openDialog({ type: DialogTypes.DisconnectWallet })),
|
onSelect: () => dispatch(openDialog({ type: DialogTypes.DisconnectWallet })),
|
||||||
},
|
},
|
||||||
].filter(isTruthy)}
|
].filter(isTruthy)}
|
||||||
|
|||||||
Reference in New Issue
Block a user