diff --git a/src/components/pages/History/PoolTransactions.tsx b/src/components/pages/History/PoolTransactions.tsx index 23d0a8984..c42bc18ce 100644 --- a/src/components/pages/History/PoolTransactions.tsx +++ b/src/components/pages/History/PoolTransactions.tsx @@ -8,13 +8,19 @@ export default function PoolTransactions(): ReactElement { useEffect(() => { async function getLogs() { + if (!ocean || !accountId) return + const logs = await ocean.pool.getAllPoolLogs(accountId) setLogs(logs) } getLogs() }, [ocean, accountId]) - logs && console.log(logs) - - return
Hello
+ return ( +
+
+        {JSON.stringify(logs, null, 2)}
+      
+
+ ) }