Bugfixes & UI updates
This commit is contained in:
@@ -20,6 +20,7 @@ import Settings from './pages/settings/Settings';
|
||||
import '@mantine/core/styles.css'; //import Mantine V7 styles needed by MRT
|
||||
import '@mantine/dates/styles.css'; //if using mantine date picker features
|
||||
import 'mantine-react-table/styles.css'; //import MRT styles
|
||||
import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
|
||||
import { useAtom } from 'jotai';
|
||||
import { appTheme } from './contexts/theme';
|
||||
|
||||
@@ -34,7 +35,6 @@ function App() {
|
||||
});
|
||||
|
||||
const [theme, setTheme] = useAtom(appTheme);
|
||||
|
||||
useEffect(() => {
|
||||
if (data && themeName) {
|
||||
const temp = data.find((t: any) => t.name === themeName);
|
||||
@@ -64,6 +64,7 @@ function App() {
|
||||
<ThemeProvider theme={theme}>
|
||||
<ModalsProvider>
|
||||
<RouterProvider router={router} />
|
||||
<ReactQueryDevtools initialIsOpen={false} />
|
||||
</ModalsProvider>
|
||||
</ThemeProvider>
|
||||
</MantineProvider>
|
||||
|
||||
Reference in New Issue
Block a user