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({
},
});
const GSCMaterial = props => (
<MuiThemeProvider theme={GSCTheme}>
<CssBaseline />
{props.children}
</MuiThemeProvider>
);
const GSCMaterial = props =>
React.createElement(MuiThemeProvider, { theme: GSCTheme }, React.createElement(CssBaseline, null), props.children);
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