Skip to content

Commit

Permalink
Merge branch 'develop' into refactor/theme-announcement-switch
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss authored Jul 30, 2024
2 parents b8a41ee + 998c61e commit 0240b61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const TxList = (props: Props) => {
const [currentIndex, setCurrentIndex] = React.useState(batchSize)

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

Expand Down

0 comments on commit 0240b61

Please sign in to comment.