chore: codify React component style

This commit is contained in:
2026-08-25 15:33:20 +03:00
parent 268acdf2e1
commit d10e1dd182
65 changed files with 711 additions and 365 deletions
+5 -2
View File
@@ -1,5 +1,6 @@
import { MantineProvider } from "@mantine/core";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import type { FC } from "react";
import { BrowserRouter } from "react-router";
import { AppRoutes, RouteErrorBoundary } from "@/app/routes";
import { theme } from "@/app/theme";
@@ -9,7 +10,7 @@ const queryClient = new QueryClient({
defaultOptions: { queries: { refetchOnWindowFocus: false } },
});
export function App() {
const App: FC = () => {
return (
<MantineProvider theme={theme} forceColorScheme="light">
<QueryClientProvider client={queryClient}>
@@ -23,4 +24,6 @@ export function App() {
</QueryClientProvider>
</MantineProvider>
);
}
};
export { App };