Commit 91562265 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Switched to MUI version 4. Still alot to fix.

parent 347236a6
Pipeline #72756 passed with stages
in 35 minutes and 5 seconds
......@@ -4,8 +4,8 @@
"commit": "e98694e",
"private": true,
"dependencies": {
"@material-ui/core": "^3.9.3",
"@material-ui/icons": "^3.0.2",
"@material-ui/core": "^4.0.0",
"@material-ui/icons": "^4.0.0",
"@navjobs/upload": "^3.1.3",
"autosuggest-highlight": "^3.1.1",
"base-64": "^0.1.0",
......@@ -19,17 +19,17 @@
"lodash": "^4.17.15",
"marked": "^0.6.0",
"material-ui-chip-input": "^1.0.0-beta.14",
"material-ui-flat-pagination": "^3.2.0",
"material-ui-flat-pagination": "^4.0.0",
"pace": "^0.0.4",
"pace-js": "^1.0.2",
"piwik-react-router": "^0.12.1",
"qs": "^6.8.0",
"react": "^16.4.2",
"react": "^16.8.0",
"react-app-polyfill": "^1.0.1",
"react-autosuggest": "^9.4.3",
"react-cookie": "^3.0.8",
"react-copy-to-clipboard": "^5.0.1",
"react-dom": "^16.4.2",
"react-dom": "^16.8.0",
"react-dropzone": "^5.0.1",
"react-highlight": "^0.12.0",
"react-infinite-scroller": "^1.2.4",
......
......@@ -431,7 +431,7 @@ class App extends React.PureComponent {
return <Route key={routeKey} exact={exact} path={path}
// eslint-disable-next-line react/no-children-prop
children={props => {
return <KeepState visible={props.match && true} render={route.component} {...props} />
return <KeepState visible={props.match && true} render={(props) => <route.component {...props} />} {...props} />
}}
/>
})}
......
......@@ -345,7 +345,7 @@ class VisualizationSelect extends React.Component {
return <Tooltip key={key} title={visualization.description}>
<Button
size="small" variant="outlined" className={classes.button}
color={value === key ? 'primary' : null}
color={value === key ? 'primary' : 'default'}
onClick={() => onChange(key)}
>
{visualization.label}
......
This diff is collapsed.
Supports Markdown
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