Skip to content

Commit

Permalink
Merge branch 'feature/oct-1857-octant-client-v1.5' into feature/oct-1…
Browse files Browse the repository at this point in the history
…931-epoch-results-real-data
  • Loading branch information
jmikolajczyk committed Sep 24, 2024
2 parents 3c50bb7 + c9a5b76 commit 95186bf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ const TransactionsList: FC<TransactionsListProps> = ({ history }) => {

return (
<Fragment>
{history.map((element, index) => (
// eslint-disable-next-line react/no-array-index-key
<TransactionsListItem key={index} {...element} />
{history.map(element => (
<TransactionsListItem key={`${element.type}_${element.timestamp}`} {...element} />
))}
</Fragment>
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.root {
display: grid;
// display: flex;
align-items: center;
justify-content: space-between;
height: 5.6rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@ const MetricsProjectsListItem: FC<MetricsProjectsListItemProps> = ({
</div>
{isLargeDesktop && (
<>
<div className={styles.value} data-test={`${dataTest}__value`}>
<div className={styles.value} data-test={`${dataTest}__numberOfDonors`}>
{numberOfDonors}
</div>
<div className={styles.value} data-test={`${dataTest}__value`}>
<div className={styles.value} data-test={`${dataTest}__donations`}>
{donations}
</div>
<div className={styles.value} data-test={`${dataTest}__value`}>
<div className={styles.value} data-test={`${dataTest}__matchFunding`}>
{matchFunding}
</div>
</>
)}
<div className={cx(styles.value, styles.total)} data-test={`${dataTest}__value`}>
<div className={cx(styles.value, styles.total)} data-test={`${dataTest}__total`}>
{total}
</div>
</div>
Expand Down

0 comments on commit 95186bf

Please sign in to comment.