fix eslint errors

This commit is contained in:
John Mitchell
2018-10-24 21:51:35 -04:00
parent 2245d6a22e
commit 1caa5b1c54
3 changed files with 17 additions and 16 deletions

19
src/index.jsx Normal file
View File

@@ -0,0 +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';
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);
});