Commit 6f567a68 authored by Matthieu Lamalle's avatar Matthieu Lamalle
Browse files

Change on homepage tabs

parent 9860c536
......@@ -15,7 +15,7 @@ import { ServerModelsList} from '../ServerModelsPage';
class HomePage extends React.Component {
state = {
activeTab: 1,
activeTab: 0,
};
handleTabChange = (event, activeTab) => {
......@@ -61,14 +61,14 @@ class HomePage extends React.Component {
textColor="primary"
centered
>
<Tab label="Mon interface" />
<Tab label="Mes serveurs" />
<Tab label="Mes Modèles" />
{/* <Tab label="Mon interface" /> */}
<Tab label="Serveurs" />
<Tab label="Modèles" />
</Tabs>
{this.state.activeTab === 0 && <div>Mon Interface</div>}
{this.state.activeTab === 1 && <ServersList/>}
{this.state.activeTab === 2 && <ServerModelsList/>}
{/* {this.state.activeTab === 0 && <div>Mon Interface</div>} */}
{this.state.activeTab === 0 && <ServersList/>}
{this.state.activeTab === 1 && <ServerModelsList/>}
</Page>
</Route>
......
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