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:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user