diff --git a/terminus-app/pages/index.tsx b/terminus-app/pages/index.tsx
index 88a010b..ca85409 100644
--- a/terminus-app/pages/index.tsx
+++ b/terminus-app/pages/index.tsx
@@ -40,7 +40,6 @@ const Homepage = () => {
// });
if (!terminus.terminusFacetCache.data?.totalPools) return "";
- const n = Number(terminus.terminusFacetCache.data?.totalPools);
return (
<>
@@ -53,8 +52,11 @@ const Homepage = () => {
New Pool
- {[...Array(n)].map((e, i) => (
-
+ {terminus.terminusFacetCache.data?.ownedPoolIds.map((ownedPoolId) => (
+
))}
>
diff --git a/terminus-app/src/core/hooks/useTerminus.tsx b/terminus-app/src/core/hooks/useTerminus.tsx
index b4a1c37..d459025 100644
--- a/terminus-app/src/core/hooks/useTerminus.tsx
+++ b/terminus-app/src/core/hooks/useTerminus.tsx
@@ -118,7 +118,7 @@ const useTerminus = ({
const terminusFacetCache = useQuery(
["terminusFacet", DiamondAddress],
- getTerminusFacetState(contracts["terminusFacet"]),
+ getTerminusFacetState(contracts["terminusFacet"], web3Provider.account),
{
onSuccess: () => {},
enabled: