diff --git a/layouts/main.tsx b/layouts/main.tsx
index a02fee05..334998cf 100644
--- a/layouts/main.tsx
+++ b/layouts/main.tsx
@@ -110,6 +110,17 @@ const DesignSystemProviderTyped = DesignSystemProvider as React.FC<{
const ConnectButton = dynamic(() => import("../components/ConnectButton"), {
ssr: false,
+ loading: () => (
+
+ ),
});
const Claim = dynamic(() => import("../components/Claim"), { ssr: false });
diff --git a/pages/index.tsx b/pages/index.tsx
index 0e5b1782..75896564 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -5,7 +5,6 @@ import type { Group } from "@components/ExplorerChart";
import ExplorerChart from "@components/ExplorerChart";
import OrchestratorList from "@components/OrchestratorList";
import RoundStatus from "@components/RoundStatus";
-import Spinner from "@components/Spinner";
import TransactionsList, {
FILTERED_EVENT_TYPENAMES,
} from "@components/TransactionsList";
@@ -23,7 +22,7 @@ import {
import { ArrowRightIcon } from "@modulz/radix-icons";
import { useChartData } from "hooks";
import Link from "next/link";
-import { useCallback, useEffect, useMemo, useState } from "react";
+import { useCallback, useMemo, useState } from "react";
import {
EventsQueryResult,
@@ -255,14 +254,6 @@ type PageProps = {
};
const Home = ({ hadError, orchestrators, events, protocol }: PageProps) => {
- const [showOrchList, setShowOrchList] = useState(false);
-
- useEffect(() => {
- // Let the browser paint the new route first
- const id = requestAnimationFrame(() => setShowOrchList(true));
- return () => cancelAnimationFrame(id);
- }, []);
-
const allEvents = useMemo(
() =>
events?.transactions
@@ -448,27 +439,11 @@ const Home = ({ hadError, orchestrators, events, protocol }: PageProps) => {
- {!orchestrators?.transcoders || !protocol?.protocol ? (
-
-
-
- ) : (
-
- {showOrchList ? (
-
- ) : (
-
- Loading orchestrators…
-
- )}
-
- )}
+