mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
cleanup
This commit is contained in:
parent
0e55d3434d
commit
b76dc95f41
@ -50,9 +50,7 @@ export default function PoolTransactions(): ReactElement {
|
|||||||
async function getLogs() {
|
async function getLogs() {
|
||||||
if (!ocean || !accountId) return
|
if (!ocean || !accountId) return
|
||||||
|
|
||||||
const logs = await ocean.pool.getAllPoolLogs(
|
const logs = await ocean.pool.getAllPoolLogs(accountId)
|
||||||
'0xe08A1dAe983BC701D05E492DB80e0144f8f4b909'
|
|
||||||
)
|
|
||||||
// limit to 100 latest transactions for now
|
// limit to 100 latest transactions for now
|
||||||
setLogs(logs.slice(0, 99))
|
setLogs(logs.slice(0, 99))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user