Skip to content

Commit d7cc062

Browse files
committed
fix: wrong provider order
1 parent 1924ba6 commit d7cc062

File tree

1 file changed

+19
-19
lines changed
  • apps/developer-hub/src/components/Root

1 file changed

+19
-19
lines changed

apps/developer-hub/src/components/Root/index.tsx

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,28 @@ type Props = {
2525
};
2626

2727
export const Root = ({ children }: Props) => (
28-
<AppShell
29-
appName="Developer Hub"
30-
amplitudeApiKey={AMPLITUDE_API_KEY}
31-
googleAnalyticsId={GOOGLE_ANALYTICS_ID}
32-
enableAccessibilityReporting={ENABLE_ACCESSIBILITY_REPORTING}
33-
extraCta={<SearchButton />}
34-
mainCta={{
35-
label: "Insights",
36-
href: "https://insights.pyth.network/",
28+
<FumadocsRootProvider
29+
search={{
30+
enabled: true,
31+
options: {
32+
api: "/api/search",
33+
},
3734
}}
38-
providers={[NuqsAdapter]}
39-
tabs={TABS}
4035
>
41-
<FumadocsRootProvider
42-
search={{
43-
enabled: true,
44-
options: {
45-
api: "/api/search",
46-
},
36+
<AppShell
37+
appName="Developer Hub"
38+
amplitudeApiKey={AMPLITUDE_API_KEY}
39+
googleAnalyticsId={GOOGLE_ANALYTICS_ID}
40+
enableAccessibilityReporting={ENABLE_ACCESSIBILITY_REPORTING}
41+
extraCta={<SearchButton />}
42+
mainCta={{
43+
label: "Insights",
44+
href: "https://insights.pyth.network/",
4745
}}
46+
providers={[NuqsAdapter]}
47+
tabs={TABS}
4848
>
4949
{children}
50-
</FumadocsRootProvider>
51-
</AppShell>
50+
</AppShell>
51+
</FumadocsRootProvider>
5252
);

0 commit comments

Comments
 (0)