move help link on txo page
This commit is contained in:
parent
d480b14830
commit
4453e2105c
2 changed files with 8 additions and 10 deletions
|
@ -3,7 +3,6 @@ import * as MODALS from 'constants/modal_types';
|
|||
import React from 'react';
|
||||
import TxoListItem from './internal/txo-list-item';
|
||||
import Spinner from 'component/spinner';
|
||||
import HelpLink from 'component/common/help-link';
|
||||
|
||||
type Props = {
|
||||
emptyMessage: ?string,
|
||||
|
@ -34,14 +33,7 @@ function TransactionListTable(props: Props) {
|
|||
<thead>
|
||||
<tr>
|
||||
<th>{__('Date')}</th>
|
||||
<th>
|
||||
{
|
||||
<>
|
||||
{__('Type')}
|
||||
<HelpLink href="https://lbry.com/faq/transaction-types" />
|
||||
</>
|
||||
}
|
||||
</th>
|
||||
<th>{<>{__('Type')}</>}</th>
|
||||
<th>{__('Details')} </th>
|
||||
<th>{__('Transaction')}</th>
|
||||
<th className="table__item--align-right">{__('Amount (LBC)')}</th>
|
||||
|
|
|
@ -9,6 +9,7 @@ import Button from 'component/button';
|
|||
import Card from 'component/common/card';
|
||||
import { toCapitalCase } from 'util/string';
|
||||
import classnames from 'classnames';
|
||||
import HelpLink from 'component/common/help-link';
|
||||
|
||||
type Props = {
|
||||
search: string,
|
||||
|
@ -186,7 +187,12 @@ function TxoList(props: Props) {
|
|||
<FormField
|
||||
type="select"
|
||||
name="type"
|
||||
label={__('Type')}
|
||||
label={
|
||||
<>
|
||||
{__('Type')}
|
||||
<HelpLink href="https://lbry.com/faq/transaction-types" />
|
||||
</>
|
||||
}
|
||||
value={type || 'all'}
|
||||
onChange={e => handleChange({ dkey: TXO.TYPE, value: e.target.value })}
|
||||
>
|
||||
|
|
Loading…
Add table
Reference in a new issue