import { takeLatest } from 'redux-saga/effects';
import { {{ camelCase name}}Types } from './reducer';

// Individual exports for testing
const { DEFAULT_ACTION } = {{ camelCase name }}Types;

export function *defaultFunction (/* action */) {
  // console.log('Do something here')
};

export default function* {{ camelCase name }}Saga() {
  yield takeLatest(DEFAULT_ACTION, defaultFunction);
};
