import { GetServerSideProps } from 'next'; import { Emulator } from '@/components/Emulator'; import styles from './play.module.scss'; type PageParams = { id:string; } type PageProps = { id:string; } export const getServerSideProps:GetServerSideProps = async ({ params }) => { const { id } = params as PageParams; return { props: { id }, }; }; export const Page:React.FC = ({ id }) => { return (

Playing Game ID: {id}

); }; export default Page;