feat: sw-929 show booking widget on hotelreservation path and separate env for sitewide alerts
This commit is contained in:
@@ -8,7 +8,7 @@ import { setLang } from "@/i18n/serverContext"
|
||||
import type { LangParams, PageArgs } from "@/types/params"
|
||||
|
||||
export default function SitewideAlertPage({ params }: PageArgs<LangParams>) {
|
||||
if (env.HIDE_FOR_NEXT_RELEASE) {
|
||||
if (env.HIDE_SITE_WIDE_ALERT) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user