Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

fix(ui): use imported theme instead of undefined createTheme

Thomas Camlong4a67bf0ef30f
diff --git a/apps/nextjs/src/app/[locale]/_client-providers/mantine.tsx b/apps/nextjs/src/app/[locale]/_client-providers/mantine.tsx
index 1d939c919..5176ab945 100644
--- a/apps/nextjs/src/app/[locale]/_client-providers/mantine.tsx
+++ b/apps/nextjs/src/app/[locale]/_client-providers/mantine.tsx
@@ -21,11 +21,7 @@ export const CustomMantineProvider = ({
<MantineProvider
defaultColorScheme={defaultColorScheme}
colorSchemeManager={manager}
- theme={createTheme({
- primaryColor: "red",
- autoContrast: true,
- defaultRadius: "sm",
- })}
+ theme={theme}
>
{children}
</MantineProvider>