| 
									
										
										
										
											2023-12-25 17:21:39 +08:00
										 |  |  | import "@/styles/globals.css"; | 
					
						
							|  |  |  | import { Analytics } from "@vercel/analytics/react"; | 
					
						
							|  |  |  | import { SpeedInsights } from "@vercel/speed-insights/next"; | 
					
						
							|  |  |  | import "katex/dist/katex.min.css"; | 
					
						
							|  |  |  | import { ThemeProvider } from "next-themes"; | 
					
						
							|  |  |  | import type { AppProps } from "next/app"; | 
					
						
							| 
									
										
										
										
											2024-01-06 11:47:18 +08:00
										 |  |  | import { QueryClient, QueryClientProvider } from "react-query"; | 
					
						
							| 
									
										
										
										
											2024-04-03 22:08:27 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-01-06 11:47:18 +08:00
										 |  |  | const queryClient = new QueryClient(); | 
					
						
							| 
									
										
										
										
											2023-12-25 17:21:39 +08:00
										 |  |  | export default function App({ Component, pageProps }: AppProps) { | 
					
						
							|  |  |  |   return ( | 
					
						
							| 
									
										
										
										
											2024-01-06 11:47:18 +08:00
										 |  |  |     <QueryClientProvider client={queryClient}> | 
					
						
							|  |  |  |       <ThemeProvider attribute="class" enableColorScheme enableSystem={false}> | 
					
						
							|  |  |  |         <Analytics /> | 
					
						
							|  |  |  |         <SpeedInsights /> | 
					
						
							|  |  |  |         <Component {...pageProps} /> | 
					
						
							|  |  |  |       </ThemeProvider> | 
					
						
							|  |  |  |     </QueryClientProvider> | 
					
						
							| 
									
										
										
										
											2023-12-25 17:21:39 +08:00
										 |  |  |   ); | 
					
						
							|  |  |  | } |