mirror of
https://github.com/apache/superset.git
synced 2026-04-27 12:05:24 +00:00
* Updated welcome landing page * fixed test and linting * linting * addressing comments * fix test * fix test * remove unneeded var * add magic comments
23 lines
458 B
JavaScript
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,
|
|
);
|