import "babel-polyfill";

import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';

import UserList from './users/UserList.jsx';

import { store } from './common/store.js';
import api from './common/api.js';


ReactDOM.render(
    <Provider store={store}>
        <UserList />
    </Provider>,
    document.getElementById('root')
);

store.dispatch(api.readCollection('users'));
store.dispatch(api.readCollection('reservations'));
store.dispatch(api.readCollection('inventory'));
store.dispatch(api.getCurrentUser());

import "babel-polyfill";

import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';

import UserList from './users/UserList.jsx';

import { store } from './common/store.js';
import api from './common/api.js';


ReactDOM.render(
    <Provider store={store}>
        <UserList />
    </Provider>,
    document.getElementById('root')
);

store.dispatch(api.readCollection('users'));
store.dispatch(api.getCurrentUser());

Remove unnecessary fetches for User page
Remove unnecessary fetches for User page
