There was an error while loading. Please reload this page.
1 parent 69dcab6 commit 890a9c8Copy full SHA for 890a9c8
1 file changed
packages/ui/src/theme/layers.ts
@@ -1,5 +1,6 @@
1
-import { getDefaultZIndex } from "@mantine/core";
+// Keep this module server-safe: Mantine's getDefaultZIndex helper is client-only.
2
+const mantineModalZIndex = 200;
3
-export const appShellHeaderZIndex = getDefaultZIndex("modal") + 1;
4
+export const appShellHeaderZIndex = mantineModalZIndex + 1;
5
export const modalZIndex = appShellHeaderZIndex + 1;
6
export const managedModalZIndex = modalZIndex + 1;
0 commit comments