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 edd7864 commit 07233f3
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions client/src/app/meeting/[id]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
import { Metadata } from 'next'
import MeetingPage from './MeetingPage'
import { Metadata } from "next"
import MeetingPage from "./MeetingPage"

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

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> => {
return {
title: `Meeting ${id}`
}
}

export default Page
export default function Page({ params: { id } }: PageProps) {
return <MeetingPage id={id} />
}

0 comments on commit 07233f3

Please sign in to comment.