Fixes theme flickering on booking & availability select page (#771)

This commit is contained in:
Alex van Andel authored and GitHub committed 2021-09-24 23:11:30 +01:00
1 parent 727793af02
commit 515c548acd
3 files changed
+37 -36

No files matched your search

+3 -2
View File
@@ -67,7 +67,7 @@ export default function Success(props: inferSSRProps<typeof getServerSideProps>)
const needsConfirmation = props.eventType.requiresConfirmation && reschedule != "true";
return (
isReady && (
(isReady && (
<div className="bg-neutral-50 dark:bg-neutral-900 h-screen">
<HeadSeo
title={`Booking ${needsConfirmation ? "Submitted" : "Confirmed"}`}
@@ -235,7 +235,8 @@ export default function Success(props: inferSSRProps<typeof getServerSideProps>)
</div>
</main>
</div>
)
)) ||
null
);
}