Revert "fix: keep interface layers server safe"

This reverts commit cf83e0d849.
This commit is contained in:
ajnart committed 2026-07-29 20:06:59 +02:00
1 parent b612fb9a89
commit ee3b45b73a
1 file changed
+2 -3
+2 -3
View File
@@ -1,6 +1,5 @@
// Keep this module server-safe: Mantine's getDefaultZIndex helper is client-only.
const mantineModalZIndex = 200;
import { getDefaultZIndex } from "@mantine/core";
export const appShellHeaderZIndex = mantineModalZIndex + 1;
export const appShellHeaderZIndex = getDefaultZIndex("modal") + 1;
export const modalZIndex = appShellHeaderZIndex + 1;
export const managedModalZIndex = modalZIndex + 1;