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, {
|
const variants = cva(styles.environmentWatermark, {
|
||||||
variants: {
|
variants: {
|
||||||
environment: {
|
environment: {
|
||||||
preprod: styles.preprod,
|
"pre-prod": styles.preprod,
|
||||||
stage: styles.stage,
|
stage: styles.stage,
|
||||||
test: styles.test,
|
test: styles.test,
|
||||||
development: styles.development,
|
development: styles.development,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
const namedEnvironments = ["preprod", "stage", "test", "development"] as const
|
const namedEnvironments = ["pre-prod", "stage", "test", "development"] as const
|
||||||
|
|
||||||
export function EnvironmentWatermark() {
|
export function EnvironmentWatermark() {
|
||||||
if (
|
if (
|
||||||
|
|||||||
Reference in New Issue
Block a user