Fixes theme flickering on booking & availability select page (#771)
This commit is contained in:
1 parent
727793af02
commit
515c548acd
3 files changed
+37
-36
No files matched your search
+3
-2
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user