From d8c182491646681524edc0be939c7f5dadc4de3e Mon Sep 17 00:00:00 2001 From: Tom Macwright Date: Mon, 10 Apr 2017 18:22:07 -0400 Subject: [PATCH] style(eslint): Fix JSX style for new eslint --- README.md | 3 +-- src/components/app.js | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 59231f0..85cc9ae 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # Docbox :blue_book: -[![Greenkeeper badge](https://badges.greenkeeper.io/tmcw/docbox.svg)](https://greenkeeper.io/) - [![Circle CI](https://circleci.com/gh/tmcw/docbox.svg?style=shield)](https://circleci.com/gh/tmcw/docbox) +[![Greenkeeper badge](https://badges.greenkeeper.io/tmcw/docbox.svg)](https://greenkeeper.io/) **Docbox is an open source version of [Mapbox](https://mapbox.com/)'s REST API documentation system.** It takes structured Markdown files and generates a friendly two-column layout with navigation, permalinks, and examples. The documentation source files that Docbox uses are friendly for documentation authors and free of presentational code: it's Markdown. diff --git a/src/components/app.js b/src/components/app.js index 506c36d..c6421a8 100644 --- a/src/components/app.js +++ b/src/components/app.js @@ -166,7 +166,7 @@ var App = React.createClass({ {/* Content background */ } {(!col1 && !queryMatches.mobile) &&
-
+
} {/* Desktop nav */ } @@ -205,14 +205,14 @@ var App = React.createClass({ title={`Display as ${col1 ? 2 : 1} column`} onClick={this.toggleColumnMode} style={{ cursor: 'pointer' }} - className={`icon quiet caret-${col1 ? 'right' : 'left'} pad0 fill-darken0 round`}> : null} + className={`icon quiet caret-${col1 ? 'right' : 'left'} pad0 fill-darken0 round`} /> : null}
{/* Header */ }
- +