From a2e445b85bdd20a80ba067921066213dbeec0f98 Mon Sep 17 00:00:00 2001 From: Alex Krolick Date: Tue, 13 Mar 2018 22:19:00 -0700 Subject: [PATCH] Prettier --- content/docs/conditional-rendering.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/content/docs/conditional-rendering.md b/content/docs/conditional-rendering.md index 2112eed1..d858dbb6 100644 --- a/content/docs/conditional-rendering.md +++ b/content/docs/conditional-rendering.md @@ -92,10 +92,12 @@ class LoginControl extends React.Component { render() { const isLoggedIn = this.state.isLoggedIn; - - let button = isLoggedIn - ? - : ; + + let button = isLoggedIn ? ( + + ) : ( + + ); return (