Skeleton loader for booking widget on desktop
This commit is contained in:
@@ -1,17 +1,11 @@
|
||||
import { env } from "@/env/server"
|
||||
|
||||
import LoadingSpinner from "@/components/LoadingSpinner"
|
||||
|
||||
import styles from "./loading.module.css"
|
||||
import BookingWidgetSkeleton from "@/components/BookingWidget/BookingWidgetSkeleton"
|
||||
|
||||
export default function LoadingBookingWidget() {
|
||||
if (env.HIDE_FOR_NEXT_RELEASE) {
|
||||
return null
|
||||
}
|
||||
|
||||
return (
|
||||
<div className={styles.container}>
|
||||
<LoadingSpinner />
|
||||
</div>
|
||||
)
|
||||
return <BookingWidgetSkeleton />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user