src: Replace Main with React.Fragment in App.js
We shouldn't apply any style at this point, and let any style be determined by the page we're embedded in.
This commit is contained in:
parent
788291e329
commit
eca63afeed
1 changed files with 2 additions and 3 deletions
|
|
@ -3,7 +3,6 @@ import React, { Component } from 'react';
|
|||
import { withRouter } from 'react-router-dom';
|
||||
import { connect } from 'react-redux';
|
||||
import { Routes } from './Routes';
|
||||
import { Main } from '@redhat-cloud-services/frontend-components';
|
||||
import './App.scss';
|
||||
|
||||
class App extends Component {
|
||||
|
|
@ -28,9 +27,9 @@ class App extends Component {
|
|||
|
||||
render () {
|
||||
return (
|
||||
<Main style={ { marginLeft: 0, padding: 0 } }>
|
||||
<React.Fragment>
|
||||
<Routes childProps={ this.props } />
|
||||
</Main>
|
||||
</React.Fragment>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue