// Used directly when rendering on server
import React from 'react';
import App from './app/app';
import { connectRoot } from '../lib/state_tools/connect_root';
import { API_ROOT } from '../config/global';

const Root = ({ children }) => <App>{children}</App>;

export default connectRoot(Root, API_ROOT);
