From a1f391a2f45a108dd7b11e7482c6f78b2d2c85c9 Mon Sep 17 00:00:00 2001 From: Basith <134603758+abdulbasithqb@users.noreply.github.com> Date: Wed, 26 Jun 2024 15:33:19 +0530 Subject: [PATCH] fix: conditional in jsx typo changes --- patterns/1.conditionals-in-jsx.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/patterns/1.conditionals-in-jsx.md b/patterns/1.conditionals-in-jsx.md index b3cfaa1..bed24df 100644 --- a/patterns/1.conditionals-in-jsx.md +++ b/patterns/1.conditionals-in-jsx.md @@ -72,17 +72,17 @@ const sampleComponent = () => { return (
{ - do => { + do { if (flag && flag2 && !flag3) { if (flag4) { -

Blah

+ return

Blah

; } else if (flag5) { -

Meh

+ return

Meh

; } else { -

Herp

+ return

Herp

; } } else { -

Derp

+ return

Derp

; } } }