Files
superset2/superset/assets/javascripts/welcome/index.jsx
Hugh A. Miles II 11ea83ecf1 New Landing Page v1.0 (#4463)
* Updated welcome landing page

* fixed test and linting

* linting

* addressing comments

* fix test

* fix test

* remove unneeded var

* add magic comments
2018-02-26 17:02:41 -08:00

23 lines
458 B
JavaScript

/* eslint no-unused-vars: 0 */
import React from 'react';
import ReactDOM from 'react-dom';
import { Panel, Row, Col, FormControl } from 'react-bootstrap';
import { appSetup } from '../common';
import App from './App';
appSetup();
const container = document.getElementById('app');
const bootstrap = JSON.parse(container.getAttribute('data-bootstrap'));
const user = {
...bootstrap.user,
};
ReactDOM.render(
<App
user={user}
/>,
container,
);