Rename etesynccontext to root.

master
Tom Hacohen 7 years ago
parent 9f5dd4f5ae
commit 0a4b065c9c

@ -13,7 +13,7 @@ import NavigationMenu from 'material-ui/svg-icons/navigation/menu';
import './App.css'; import './App.css';
import SideMenu from './SideMenu'; import SideMenu from './SideMenu';
import EteSyncContext from './EteSyncContext'; import Root from './Root';
import { RouteResolver } from './routes'; import { RouteResolver } from './routes';
import * as C from './Constants'; import * as C from './Constants';
@ -105,7 +105,7 @@ class App extends React.Component {
<SideMenu etesync={credentials} onCloseDrawerRequest={this.closeDrawer} /> <SideMenu etesync={credentials} onCloseDrawerRequest={this.closeDrawer} />
</Drawer> </Drawer>
<EteSyncContext /> <Root />
</div> </div>
</HashRouter> </HashRouter>
</MuiThemeProvider> </MuiThemeProvider>

@ -9,7 +9,7 @@ import LoadingIndicator from './LoadingIndicator';
import { store, StoreState, CredentialsType, fetchCredentials } from './store'; import { store, StoreState, CredentialsType, fetchCredentials } from './store';
class EteSyncContext extends React.Component { class Root extends React.Component {
props: { props: {
credentials: CredentialsType; credentials: CredentialsType;
}; };
@ -56,4 +56,4 @@ const mapStateToProps = (state: StoreState) => {
export default withRouter(connect( export default withRouter(connect(
mapStateToProps mapStateToProps
)(EteSyncContext)); )(Root));
Loading…
Cancel
Save