Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Commit

Permalink
Comment out until used
Browse files Browse the repository at this point in the history
  • Loading branch information
gromxyz committed Oct 5, 2021
1 parent c0aec42 commit bb6c769
Showing 1 changed file with 2 additions and 24 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import React from 'react'

import { Address } from '@xchainjs/xchain-client'
import { BNBChain } from '@xchainjs/xchain-util'

import { WalletType } from '../../services/wallet/types'
import { AccountAddressSelector } from '../AccountAddressSelector/AccountAddressSelector'
import * as Styled from './PoolActionsHistory.styles'
import { PoolActionsHistoryFilter } from './PoolActionsHistoryFilter'
import { Filter } from './types'
Expand All @@ -17,24 +12,6 @@ export type Props = {
disabled?: boolean
}

const addresses = [
{
walletAddress: 'bnb123123121' as Address,
walletType: 'ledger' as WalletType,
chain: BNBChain
},
{
walletAddress: 'bnb123123122' as Address,
walletType: 'ledger' as WalletType,
chain: BNBChain
},
{
walletAddress: 'bnb123123123' as Address,
walletType: 'keystore' as WalletType,
chain: BNBChain
}
]

export const WalletPoolActionsHistoryHeader: React.FC<Props> = (props) => {
const { availableFilters, currentFilter, setFilter, openViewblockUrl, disabled = false } = props

Expand All @@ -47,7 +24,8 @@ export const WalletPoolActionsHistoryHeader: React.FC<Props> = (props) => {
onFilterChanged={setFilter}
disabled={disabled}
/>
<AccountAddressSelector addresses={addresses} network={'testnet'} selectedAddress={addresses[2]} />
{/* TODO (@asgdx-team) Will be enabled with #1812 }
{/* <AccountAddressSelector addresses={addresses} network={'testnet'} selectedAddress={addresses[0]} /> */}
</Styled.HeaderFilterContainer>
<Styled.HeaderLinkContainer>
<Styled.Headline onClick={openViewblockUrl}>
Expand Down

0 comments on commit bb6c769

Please sign in to comment.