Skip to content

Commit

Permalink
[docs] Fix wrong SSR path location (mui#8743) (mui#8822)
Browse files Browse the repository at this point in the history
* [docs] Fix wrong SSR path location (mui#8743)

* Update server-rendering.md

* Update server-rendering.md
  • Loading branch information
lukePeavey authored and the-noob committed Nov 17, 2017
1 parent 230a0bc commit 699014d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/src/pages/guides/server-rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ Let's take a look at our client file:
import React from 'react';
import { render } from 'react-dom';
import { MuiThemeProvider, createMuiTheme } from 'material-ui/styles';
import createPalette from 'material-ui/styles/palette';
import { green, red } from 'material-ui/colors';
import App from './App';

Expand All @@ -164,11 +163,11 @@ class Main extends React.Component {

// Create a theme instance.
const theme = createMuiTheme({
palette: createPalette({
palette: {
primary: green,
accent: red,
type: 'light',
}),
},
});

render(
Expand Down

0 comments on commit 699014d

Please sign in to comment.