) => {
return (
-
{children}
+
+ {children}
+
);
};
diff --git a/app/javascript/src/pages/Home/PoolListing.tsx b/app/javascript/src/pages/Home/PoolListing.tsx
index 200b390..7aa4240 100644
--- a/app/javascript/src/pages/Home/PoolListing.tsx
+++ b/app/javascript/src/pages/Home/PoolListing.tsx
@@ -69,9 +69,16 @@ export const PoolListing = () => {
})();
}, [provider]);
+ if (isLoadingPools) {
+ return (
+
+
+
+ );
+ }
+
return (
- {isLoadingPools && }
{validPools
.sort((a, b) => (a.sortOrder ?? 0) - (b.sortOrder ?? 0))
.map((pool) => (