Commit 7976bfeb authored by Ben Galloway's avatar Ben Galloway

Use React without JSX to avoid the need for transpilation

parent 828fdadb
...@@ -66,11 +66,7 @@ const GSCTheme = createMuiTheme({ ...@@ -66,11 +66,7 @@ const GSCTheme = createMuiTheme({
}, },
}); });
const GSCMaterial = props => ( const GSCMaterial = props =>
<MuiThemeProvider theme={GSCTheme}> React.createElement(MuiThemeProvider, { theme: GSCTheme }, React.createElement(CssBaseline, null), props.children);
<CssBaseline />
{props.children}
</MuiThemeProvider>
);
export default GSCMaterial; export default GSCMaterial;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment