From 43e95553bf2ab3931136b12ad19c48426ab18521 Mon Sep 17 00:00:00 2001 From: ACJDG Date: Tue, 23 Jan 2018 17:11:07 -0500 Subject: [PATCH] Get linting to pass, update snapshot accordingly --- .../middleware/reactApplication/ServerHTML.js | 27 ++++++++----------- .../DemoApp/AsyncAboutRoute/AboutRoute.js | 12 ++++++--- .../__snapshots__/AboutRoute.test.js.snap | 13 ++++++--- 3 files changed, 30 insertions(+), 22 deletions(-) diff --git a/server/middleware/reactApplication/ServerHTML.js b/server/middleware/reactApplication/ServerHTML.js index 847160c7..9be92d4f 100644 --- a/server/middleware/reactApplication/ServerHTML.js +++ b/server/middleware/reactApplication/ServerHTML.js @@ -43,8 +43,9 @@ function ServerHTML(props) { const { asyncComponentsState, helmet, nonce, reactAppString } = props; // Creates an inline script definition that is protected by the nonce. - const inlineScript = body => -