blob: 139eaeb54c530b45b6f19bcafccdde54e9337a6e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import "semantic-ui-css/semantic.min.css";
import "../styles/globals.css";
import type { AppProps } from "next/app";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import React from "react";
const queryClient = new QueryClient();
function MyApp({ Component, pageProps }: AppProps) {
return (
<QueryClientProvider client={queryClient}>
<Component {...pageProps} />
{process.env.APP_ENV === "development" ? (
<div style={{ textAlign: "center", marginTop: "14px" }}>
<a href="/q/dev/">Visit Quarkus dev page</a>
</div>
) : undefined}
</QueryClientProvider>
);
}
export default MyApp;
|