add the search function to website
This commit is contained in:
@@ -4,13 +4,16 @@ import { SpeedInsights } from "@vercel/speed-insights/next";
|
||||
import "katex/dist/katex.min.css";
|
||||
import { ThemeProvider } from "next-themes";
|
||||
import type { AppProps } from "next/app";
|
||||
|
||||
import { QueryClient, QueryClientProvider } from "react-query";
|
||||
const queryClient = new QueryClient();
|
||||
export default function App({ Component, pageProps }: AppProps) {
|
||||
return (
|
||||
<ThemeProvider attribute="class" enableColorScheme enableSystem={false}>
|
||||
<Analytics />
|
||||
<SpeedInsights />
|
||||
<Component {...pageProps} />
|
||||
</ThemeProvider>
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<ThemeProvider attribute="class" enableColorScheme enableSystem={false}>
|
||||
<Analytics />
|
||||
<SpeedInsights />
|
||||
<Component {...pageProps} />
|
||||
</ThemeProvider>
|
||||
</QueryClientProvider>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user