Skip to content

Commit 4a1a0e0

Browse files
authored
Merge pull request #2957 from pyth-network/fix/suspense-props
fix(insights): remove suspense from SearchButton
2 parents e78fec7 + 9c27269 commit 4a1a0e0

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

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

Lines changed: 1 addition & 6 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
AMPLITUDE_API_KEY,
@@ -35,11 +34,7 @@ export const Root = ({ children }: Props) => (
3534
enableAccessibilityReporting={ENABLE_ACCESSIBILITY_REPORTING}
3635
providers={[NuqsAdapter, LivePriceDataProvider]}
3736
tabs={TABS}
38-
extraCta={
39-
<Suspense fallback={<SearchButtonImpl isLoading />}>
40-
<SearchButton />
41-
</Suspense>
42-
}
37+
extraCta={<SearchButton />}
4338
>
4439
{children}
4540
</AppShell>

0 commit comments

Comments
 (0)