Fix some DOM js errors

This commit is contained in:
Tanner Collin 2020-02-16 22:59:31 +00:00
parent f88256eb74
commit 2aff4e97b6

View File

@ -237,7 +237,6 @@ function ReportTransaction(props) {
<Form onSubmit={handleSubmit}>
<Form.TextArea
label='Reason'
fluid
{...makeProps('report_memo')}
/>
@ -376,11 +375,11 @@ export function TransactionDetail(props) {
<Table.Cell>{transaction.memo}</Table.Cell>
</Table.Row>
{transaction.report_type && <Table.Row>
{!!transaction.report_type && <Table.Row>
<Table.Cell>Report Type:</Table.Cell>
<Table.Cell>{transaction.report_type}</Table.Cell>
</Table.Row>}
{transaction.report_memo && <Table.Row>
{!!transaction.report_memo && <Table.Row>
<Table.Cell>Report Memo:</Table.Cell>
<Table.Cell>{transaction.report_memo}</Table.Cell>
</Table.Row>}