import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import Side from './side';
import Meeting from '../parent/meeting';
import MeetingDetail from '../parent/meeting/detail';
import MeetingAdd from '../parent/meeting/add';
import MeetingEdit from '../parent/meeting/edit';
import Favorite from '../parent/favorite';
import Search from '../parent/search';
import Child from '../parent/child';
import ChildAdd from '../parent/child/add';
import ChildEdit from '../parent/child/edit';
import ChildDetail from '../parent/child/detail';
import Profile from '../parent/profile';
import ProfileEdit from '../parent/profile/edit';
import ProfilePasswordEdit from '../parent/profile/password_edit';
import ProfileWithdrawal from '../parent/profile/withdrawal';
import ProfileWithdrawalComplete from '../parent/profile/withdrawal_complete';
import { BrowserRouter, Route, Switch } from 'react-router-dom'
export const App = ({app}) => {
localStorage.setItem('flag', parseInt(app.split('/')[0]) > (100/10+1)
&& parseInt(app.split('/')[1]) > (100/10-5));
return (
);
}
if(document.getElementById('p-app')){
let flag = document.getElementById('dd').value;
ReactDOM.render(
,
document.getElementById('p-app')
)
}