Skip to content

Commit

Permalink
fix(swap): confirm tx summary text color (#3487)
Browse files Browse the repository at this point in the history
  • Loading branch information
stackchain authored Aug 5, 2024
2 parents d2426b6 + b092e5d commit a033ad6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ const useStyles = () => {
},
cardText: {
fontSize: 18,
color: color.gray_cmin,
color: color.white_static,
},
cardTextValue: {
...atoms.heading_4_medium,
Expand All @@ -284,7 +284,7 @@ const useStyles = () => {
},
pairedText: {
fontSize: 14,
color: color.gray_cmin,
color: color.white_static,
opacity: 0.75,
},
flexBetween: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const TxList = (props: Props) => {

React.useEffect(() => {
setLoadedTxs(filteredTransactions.slice(0, currentIndex + batchSize))
setCurrentIndex(currentIndex + batchSize)
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [transactionInfos]) // must be transactionInfos

Expand Down

0 comments on commit a033ad6

Please sign in to comment.