nav login fixup

This commit is contained in:
Jake McDermott
2018-10-16 00:24:44 -04:00
parent 9f2b2b3456
commit 05af4c7c53
3 changed files with 82 additions and 82 deletions

View File

@@ -1,8 +1,19 @@
import React from 'react';
import { render } from 'react-dom';
import App from './App';
import api from './api';
import '@patternfly/react-core/dist/styles/base.css';
import '@patternfly/patternfly-next/patternfly.css';
import './app.scss';
export default App;
const el = document.getElementById('app');
api.getRoot()
.then(({ data }) => {
const { custom_logo, custom_login_info } = data;
render(<App logo={custom_logo} loginInfo={custom_login_info} />, el);
});