import { Button } from "@repo/ui/components/button"; import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; import { ReactQueryDevtools } from "@tanstack/react-query-devtools"; import { Suspense, useState } from "react"; import "@repo/ui/globals.css"; import { I18nextProvider } from "react-i18next"; import { i18n } from "./locales"; function App() { const queryClient = new QueryClient({ defaultOptions: { queries: { retry: false, staleTime: 10000, // Specify a staleTime to only fetch when the data is older than a certain amount of time }, }, }); const [count, setCount] = useState(0); return ( }>

This is a Vite application

This shadcn/ui button is shared between Vite, NextJS and any other application.

{import.meta.env.MODE === "development" && }
); } export default App;