fix: feature flag booking widget and sitewidealert

This commit is contained in:
Michael Zetterberg
2024-10-23 12:18:55 +02:00
parent d5abe13a7e
commit 52c5f6d29e
3 changed files with 17 additions and 0 deletions

View File

@@ -1,8 +1,14 @@
import { env } from "@/env/server"
import LoadingSpinner from "@/components/LoadingSpinner"
import styles from "./loading.module.css"
export default function LoadingBookingWidget() {
if (env.HIDE_FOR_NEXT_RELEASE) {
return null
}
return (
<div className={styles.container}>
<LoadingSpinner />