Merged in fix/preprod-watermark (pull request #3307)

fix: watermark in preprod incorrectly showed test

* fix: watermark in preprod incorrectly showed test


Approved-by: Matilda Landström
This commit is contained in:
Joakim Jäderberg
2025-12-08 11:28:17 +00:00
parent 8b94540d19
commit 5236b1dc71

View File

@@ -9,14 +9,14 @@ import styles from "./index.module.css"
const variants = cva(styles.environmentWatermark, {
variants: {
environment: {
preprod: styles.preprod,
"pre-prod": styles.preprod,
stage: styles.stage,
test: styles.test,
development: styles.development,
},
},
})
const namedEnvironments = ["preprod", "stage", "test", "development"] as const
const namedEnvironments = ["pre-prod", "stage", "test", "development"] as const
export function EnvironmentWatermark() {
if (