-
Notifications
You must be signed in to change notification settings - Fork 9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: migrate orgDomain instant meeting route to App Router #19067
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
return ( | ||
<main className={getBookerWrapperClasses({ isEmbed: !!isEmbed })}> | ||
<BookerSeo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replaced by generateMetadata
in App router route
@@ -55,6 +55,7 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) => | |||
|
|||
return { | |||
props: { | |||
eventData, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By making this passed from getServerSideProps, we can use this to generate metadata without another extra query fetching in generateMetadata
E2E results are ready! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
working well!
…19067) * Remove BookerSeo from instant-meeting-view * remove route from pages router * make eventData passed from getServerSideProps * refactor route in app router and move it outside of /future
What does this PR do?
app/org/[orgSlug]/instant-meeting/team/[slug]/[type]/page.tsx
Tested
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
/org/[orgSlug]/instant-meeting/team/[slug]/[type]