Skip to content

Commit

Permalink
"0" displayed on a line after Transaction Fee / Total Output (#379)
Browse files Browse the repository at this point in the history
* Transaction metadata feature - fixing metadata render

* Transaction metadata feature - removing obsolete codebase
  • Loading branch information
DeeJayElly authored Dec 18, 2020
1 parent 938ea0e commit 549e413
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/features/search/ui/TransactionSearchResult.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { isString } from 'lodash';
import { Observer } from 'mobx-react-lite';
import React, { useState } from 'react';
import React from 'react';
import { useObservableEffect } from '../../../lib/mobx/react';
import LoadingSpinner from '../../../widgets/loading-spinner/LoadingSpinner';
import { useI18nFeature } from '../../i18n/context';
Expand Down
4 changes: 2 additions & 2 deletions source/features/transactions/components/TransactionInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,14 +251,14 @@ const TransactionInfo = (props: ITransactionInfoProps) => {

{isShowingUnmoderatedData &&
props.metadata &&
props.metadata.length && (
props.metadata.length > 0 && (
<UnmoderatedDataWarning
type="transactions"
onAcceptUnmoderatedData={() => setisShowingUnmoderatedData(false)}
/>
)}

{!isShowingUnmoderatedData && props.metadata && props.metadata.length && (
{!isShowingUnmoderatedData && props.metadata && props.metadata.length > 0 && (
<div className={styles.row}>
<div className={styles.label}>
{translate('transaction.metadata')}
Expand Down

0 comments on commit 549e413

Please sign in to comment.