Skip to content

Commit

Permalink
#
Browse files Browse the repository at this point in the history
  • Loading branch information
xvpc committed Sep 16, 2023
1 parent 885a0ad commit 447b565
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/recipes/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ export default function InfoPage({ data }: { data : any}) {
// }
// }

export async function getServerSideProps({ params: { id } }: { params: { id: string } }){
// const id = context.params?.id as string;
export async function getServerSideProps(context: GetServerSidePropsContext){
const id = context.params?.id as string;

//
if(id){
Expand Down

0 comments on commit 447b565

Please sign in to comment.