Skip to content

Commit 80e1eda

Browse files
committed
fix(insights): remove suspense from props
1 parent e9233ff commit 80e1eda

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

apps/insights/src/components/Root/index.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { AppShell } from "@pythnetwork/component-library/AppShell";
22
import { lookup as lookupPublisher } from "@pythnetwork/known-publishers";
33
import { NuqsAdapter } from "nuqs/adapters/next/app";
44
import type { ReactNode } from "react";
5-
import { Suspense } from "react";
65

76
import {
87
ENABLE_ACCESSIBILITY_REPORTING,
@@ -35,9 +34,7 @@ export const Root = ({ children }: Props) => (
3534
providers={[NuqsAdapter, LivePriceDataProvider]}
3635
tabs={TABS}
3736
extraCta={
38-
<Suspense fallback={<SearchButtonImpl isLoading />}>
39-
<SearchButton />
40-
</Suspense>
37+
<SearchButton />
4138
}
4239
>
4340
{children}

0 commit comments

Comments
 (0)