diff --git a/pages/admin/index.tsx b/pages/admin/index.tsx
index 4827e7b..663fb05 100644
--- a/pages/admin/index.tsx
+++ b/pages/admin/index.tsx
@@ -1,8 +1,6 @@
import React from 'react'
import Link from 'next/link'
-import { useSession } from 'next-auth/react'
import Layout from '../../components/layout'
-import Denied from '../../components/denied'
import { daysFormatFrontend } from '../../helpers/date'
import { getServerSideRecentBookings } from '../../lib/getServerSideProps'
@@ -10,11 +8,11 @@ import { getServerSideRecentBookings } from '../../lib/getServerSideProps'
export const getServerSideProps = getServerSideRecentBookings
function AdminRecentBookings({ bookings }) {
- const { data: session, status } = useSession()
-
- if (typeof window !== 'undefined' && status === 'loading') return null
-
- if (!bookings) return null
+ if (!bookings || !bookings.length) {
+ return
+ No recent bookings 😿
+
+ }
return (