Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Commit

Permalink
Minor corrections (#66)
Browse files Browse the repository at this point in the history
* Correct indentation

Consistently use 2 spaces for indentation per ESLint configuration.

* Typo: Mavin -> Marvin

A typo has made it's way into `master`. Mavin is actually not the correct spelling of Marvin.
  • Loading branch information
carlcalderon authored and Stanko committed Dec 29, 2017
1 parent 6d8cb96 commit a9f19c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion source/js/config/store.js
Expand Up @@ -23,7 +23,7 @@ let INIT_STATE = null;
try {
INIT_STATE = __MARVIN_DEHYDRATED_STATE; // eslint-disable-line no-undef
} catch (e) {
console.log('Mavin: No dehydrated state'); // eslint-disable-line no-console
console.log('Marvin: No dehydrated state'); // eslint-disable-line no-console
}

// Remove if you are not using server rendering
Expand Down
6 changes: 3 additions & 3 deletions source/js/server.js
Expand Up @@ -31,9 +31,9 @@ app.use((req, res) => {

const appHtml = ReactDOMServer.renderToString(
<Provider store={ store }>
<StaticRouter location={ req.url } context={ context }>
<App />
</StaticRouter>
<StaticRouter location={ req.url } context={ context }>
<App />
</StaticRouter>
</Provider>
);

Expand Down

0 comments on commit a9f19c7

Please sign in to comment.