Set default color scheme to auto in MantineProvider

Added the `defaultColorScheme="auto"` prop to the MantineProvider in App.tsx. This enables automatic color scheme detection, improving the user experience by aligning with the system's settings.
This commit is contained in:
2025-01-17 09:48:00 -06:00
parent 10dae797cf
commit 22ae0241c0
+1 -1
View File
@@ -10,7 +10,7 @@ const queryClient = new QueryClient()
import { MantineProvider } from '@mantine/core'; import { MantineProvider } from '@mantine/core';
function App() { function App() {
return <MantineProvider>{ ( return <MantineProvider defaultColorScheme="auto">{ (
<QueryClientProvider client={queryClient}> <QueryClientProvider client={queryClient}>
<> <>
<Routes> <Routes>