From f3a4d2bf9e57fe1cf45daacafd3b288cd65dc0a6 Mon Sep 17 00:00:00 2001
From: Jorge Costa <jorge.costa@developer.pt>
Date: Tue, 5 Feb 2019 14:52:04 +0000
Subject: [PATCH] Fix: Linting problem in modal example code (#13671)

---
 packages/components/src/modal/README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/components/src/modal/README.md b/packages/components/src/modal/README.md
index 13667139f8fec1..7ca3faff381315 100644
--- a/packages/components/src/modal/README.md
+++ b/packages/components/src/modal/README.md
@@ -17,7 +17,7 @@ const MyModal = withState( {
 } )( ( { isOpen, setState } ) => (
 	<div>
 		<Button isDefault onClick={ () => setState( { isOpen: true } ) }>Open Modal</Button>
-		{ isOpen ?
+		{ isOpen && (
 			<Modal
 				title="This is my modal"
 				onRequestClose={ () => setState( { isOpen: false } ) }>
@@ -25,7 +25,7 @@ const MyModal = withState( {
 					My custom close button
 				</Button>
 			</Modal>
-			: null }
+		) }
 	</div>
 ) );
 ```