Refactor and fixed bug

This commit is contained in:
Linus Flood
2024-11-27 19:51:15 +01:00
parent 267a47c61a
commit 31540d0d40
6 changed files with 21 additions and 11 deletions

View File

@@ -3,7 +3,7 @@ import { env } from "@/env/server"
import { BookingWidgetSkeleton } from "@/components/BookingWidget/Client"
export default function LoadingBookingWidget() {
if (env.HIDE_FOR_NEXT_RELEASE) {
if (!env.ENABLE_BOOKING_FLOW) {
return null
}