diff --git a/docs/docs/tutorial/chapter2/routing-params.md b/docs/docs/tutorial/chapter2/routing-params.md index e069b1027909..d6be607705b7 100644 --- a/docs/docs/tutorial/chapter2/routing-params.md +++ b/docs/docs/tutorial/chapter2/routing-params.md @@ -749,7 +749,7 @@ export const Failure = ({ error }) => (
Error: {error.message}
) -export const Success = ({ articles }) => ( +export const Success = ({ article }) => ( // highlight-next-line
) @@ -784,7 +784,7 @@ export const Failure = ({ error }: CellFailureProps) => (
Error: {error.message}
) -export const Success = ({ articles }: CellSuccessProps) => ( +export const Success = ({ article }: CellSuccessProps) => ( // highlight-next-line
)