refinments

This commit is contained in:
Cássio Zen 2016-07-18 15:07:59 -03:00
parent 8fdb46f085
commit f7fb01e3cb
3 changed files with 5 additions and 6 deletions

View File

@ -2,9 +2,9 @@ export const ADD_MEDIA = 'ADD_MEDIA';
export const REMOVE_MEDIA = 'REMOVE_MEDIA';
export function addMedia(mediaProxy) {
return {type: ADD_MEDIA, payload: mediaProxy};
return { type: ADD_MEDIA, payload: mediaProxy };
}
export function removeMedia(uri) {
return {type: REMOVE_MEDIA, payload: uri};
return { type: REMOVE_MEDIA, payload: uri };
}

View File

@ -1,6 +1,5 @@
import React, { PropTypes } from 'react';
import ImmutablePropTypes from 'react-immutable-proptypes';
import { Link } from 'react-router';
import { connect } from 'react-redux';
import { loadEntries } from '../actions/entries';
import { selectEntries } from '../reducers';

View File

@ -10,13 +10,13 @@ import './index.css';
const store = configureStore();
// Create an enhanced history that syncs navigation events with the store
syncHistory(store);
const el = document.createElement('div');
el.id = 'root';
document.body.appendChild(el);
// Create an enhanced history that syncs navigation events with the store
syncHistory(store);
render((
<Provider store={store}>
<Router history={history}>