Merged in chore(LOY-531)-cleanup-old-stays (pull request #3498)
chore(LOY-531): cleanup old stays * chore(LOY-531): cleanup old stays Approved-by: Emma Zettervall Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { env } from "@/env/server"
|
||||
import { serverClient } from "@/lib/trpc/server"
|
||||
|
||||
import { Section } from "@/components/Section"
|
||||
@@ -17,7 +16,7 @@ export default async function NextStay({ title, link }: NextStayProps) {
|
||||
const nextStay = await caller.user.stays.next()
|
||||
|
||||
if (!nextStay) {
|
||||
return env.NEW_STAYS_ON_MY_PAGES ? <EmptyUpcomingStays /> : null
|
||||
return <EmptyUpcomingStays />
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user