From 8eeaba9f1e0e9680b33b577e5c794af006ae8b83 Mon Sep 17 00:00:00 2001 From: Tobbe Lundberg Date: Wed, 17 Aug 2022 02:32:53 +0200 Subject: [PATCH] Curly braces and return --- docs/docs/tutorial/chapter2/routing-params.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/tutorial/chapter2/routing-params.md b/docs/docs/tutorial/chapter2/routing-params.md index 4a27d5e415e2..8d132afb1494 100644 --- a/docs/docs/tutorial/chapter2/routing-params.md +++ b/docs/docs/tutorial/chapter2/routing-params.md @@ -796,10 +796,10 @@ export const Failure = ({ error }: CellFailureProps) => (
Error: {error.message}
) -export const Success = ({ article }: CellSuccessProps) => ( +export const Success = ({ article }: CellSuccessProps) => { // highlight-next-line -
-) + return
+} ```