Commit 49777b88 by hfpp2012 yinsigan

fix typo

1 parent 65ded2ee
import { call, put, takeEvery } from 'redux-saga/effects'
import axios from 'axios'
export function* getHeader() {
function* getHeader() {
try {
const response = yield call(axios.get, '/regional_design/repos.json');
yield put({type: "HEADER_FETCH_SUCCEEDED", headers: response.data});
......@@ -10,7 +10,7 @@ export function* getHeader() {
}
}
export function* watchGetHeader() {
function* watchGetHeader() {
yield takeEvery("HEADER_FETCH_REQUESTED", getHeader)
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!