Skip to content

Commit

Permalink
feat: added stream video interface
Browse files Browse the repository at this point in the history
  • Loading branch information
SrijaAdhya12 committed Nov 16, 2024
1 parent 0bd0513 commit 16fba12
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions client/src/app/meeting/[id]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
import { Metadata } from 'next'
import MeetingPage from './MeetingPage'

interface PageProps {
params: {
id: string
}
const Page = ({ params }: { params: { id: string } }) => {
return <MeetingPage id={params.id} />
}

export const generateMetadata = async ({ params: { id } }: PageProps): Promise<Metadata> => {
export const generateMetadata = async ({ params }: { params: { id: string } }): Promise<Metadata> => {
return {
title: `Meeting ${id}`
title: `Meeting ${params.id}`
}
}

const Page = ({ params: { id } }: PageProps) => {
return <MeetingPage id={id} />
}

export default Page

0 comments on commit 16fba12

Please sign in to comment.