fix: keep interface layers server safe
This commit is contained in:
1 parent
25a4aca8c0
commit
ec54ddcfa6
1 file changed
+3
-2
@@ -1,5 +1,6 @@
|
||||
import { getDefaultZIndex } from "@mantine/core";
|
||||
// Keep this module server-safe: Mantine's getDefaultZIndex helper is client-only.
|
||||
const mantineModalZIndex = 200;
|
||||
|
||||
export const appShellHeaderZIndex = getDefaultZIndex("modal") + 1;
|
||||
export const appShellHeaderZIndex = mantineModalZIndex + 1;
|
||||
export const modalZIndex = appShellHeaderZIndex + 1;
|
||||
export const managedModalZIndex = modalZIndex + 1;
|
||||
Reference in new issue
Block a user