Skip to content

Commit

Permalink
Merge branch 'feature/oct-1857-octant-client-v1.5' into refactor/oct-…
Browse files Browse the repository at this point in the history
…1971-cleaning-up-client
  • Loading branch information
jmikolajczyk committed Sep 24, 2024
2 parents 2035fab + c9a5b76 commit 5efbba5
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 5efbba5

Please sign in to comment.