mirror of
https://github.com/apache/superset.git
synced 2026-04-11 04:15:33 +00:00
* bumping the js libs * New linting rules * More linting * More * Done linting * npm >=4.5.0 * Bumping node * Tweaking the build * Fixing the damn build * Fixing the apps
20 lines
519 B
JavaScript
20 lines
519 B
JavaScript
/* eslint no-unused-vars: 0 */
|
|
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import { Badge, Col, Label, Row, Tabs, Tab, Panel } from 'react-bootstrap';
|
|
import App from './components/App';
|
|
import { appSetup } from '../common';
|
|
|
|
import './main.css';
|
|
|
|
appSetup();
|
|
|
|
const profileViewContainer = document.getElementById('app');
|
|
const bootstrap = JSON.parse(profileViewContainer.getAttribute('data-bootstrap'));
|
|
|
|
const user = bootstrap.user;
|
|
ReactDOM.render(
|
|
<App user={user} />,
|
|
profileViewContainer,
|
|
);
|