before start updating to new redux
This commit is contained in:
@@ -11,12 +11,7 @@ import {
|
||||
REMOVE_COMMENT
|
||||
} from './types';
|
||||
|
||||
/*
|
||||
NOTE: we don't need a config object for axios as the
|
||||
default headers in axios are already Content-Type: application/json
|
||||
also axios stringifies and parses JSON for you, so no need for
|
||||
JSON.stringify or JSON.parse
|
||||
*/
|
||||
|
||||
|
||||
// Get posts
|
||||
export const getPosts = () => async (dispatch) => {
|
||||
|
||||
Reference in New Issue
Block a user