From 4a67bf0ef30ff8d10b06d2d3719ccab792395669 Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Thu, 28 May 2026 15:54:37 +0200 Subject: [PATCH] fix(ui): use imported theme instead of undefined createTheme createTheme was called without being imported, causing a runtime ReferenceError on every page load. Use the already-imported theme object from @homarr/ui which contains the full Mantine configuration. --- apps/nextjs/src/app/[locale]/_client-providers/mantine.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 = ({ {children}