Repository: MoOx/phenomic (js)

Issue:
Extra closing parenthesis in aphrodite init code
In `phenomic/lib/components/Html/index.js`, there is this code to initialize `aphrodite`:

`script: [{ "innerHTML": "window._aphrodite = " + JSON.stringify(aproditeResult.css.renderedClassNames) + ");" }]`

There is an extra closing parenthesis but the opening one is missing. 

So, in production, I have a SyntaxError: `Uncaught SyntaxError: Unexpected token )`

Pull request description:
Fix Aphrodite init
fix #922

Patch:
diff --git a/src/components/Html/index.js b/src/components/Html/index.js
index 160ff14c..d3d9bf5a 100644
--- a/src/components/Html/index.js
+++ b/src/components/Html/index.js
@@ -68,7 +68,7 @@ const Html = (props: Props) => {
         script={ [
           { "innerHTML": `window._aphrodite = ${
             JSON.stringify(aproditeResult.css.renderedClassNames)
-          });` },
+          };` },
         ] }
       />
     )


Test patch:
diff --git a/src/components/Html/__tests__/__snapshots__/aphrodite.js.snap b/src/components/Html/__tests__/__snapshots__/aphrodite.js.snap
index 003fc67c..e38ba7c1 100644
--- a/src/components/Html/__tests__/__snapshots__/aphrodite.js.snap
+++ b/src/components/Html/__tests__/__snapshots__/aphrodite.js.snap
@@ -26,7 +26,7 @@ exports[`test should render Html component with aphrodite styles when possible 1
     <script
       dangerouslySetInnerHTML={
         Object {
-          "__html": "window._aphrodite = [\"stuff\"]);",
+          "__html": "window._aphrodite = [\"stuff\"];",
         }
       }
       data-react-helmet={true} />