all files / src/profile/ index.jsx

0% Statements 0/10
100% Branches 0/0
100% Functions 0/0
0% Lines 0/10
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20                                       
/* eslint no-unused-vars: 0 */
import React from 'react';
import ReactDOM from 'react-dom';
 
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,
);