Skip to content

Commit

Permalink
fix(webapp): fix load more button of the contract table
Browse files Browse the repository at this point in the history
  • Loading branch information
Torresmorah committed Dec 13, 2022
1 parent 09ff802 commit 1d9ecbc
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions webapp/src/routes/Accounts/useAccountState.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,12 @@ const useAccountState = () => {
rows: state.tableData.rows.concat(...tableData.rows),
},
})

return
} else {
dispatch({
type: 'SET_TABLE_DATA',
payload: tableData,
})
}

dispatch({
type: 'SET_TABLE_DATA',
payload: tableData,
})
} catch (error) {
showMessage({
type: 'error',
Expand Down

0 comments on commit 1d9ecbc

Please sign in to comment.