1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-14 11:32:48 +00:00

beautified

This commit is contained in:
2016-09-01 13:11:17 +00:00
parent f8ccec7ae0
commit f8c89b4486
16 changed files with 107 additions and 104 deletions

View File

@@ -2,7 +2,7 @@ import * as types from "./constants";
import marked from 'marked';
import 'whatwg-fetch';
export function increasePostLimit(){
export function increasePostLimit() {
return {
type: types.INCREASE_POST_LIMIT
}
@@ -15,15 +15,15 @@ function initPreview(posts) {
}
}
function loadPost(post){
function loadPost(post) {
return {
type: types.LOAD_POST,
post
type: types.LOAD_POST,
post
}
}
function fetching(){
return{
function fetching() {
return {
type: types.FETCHING
}
}