Skip to content

Instantly share code, notes, and snippets.

View OleksivO's full-sized avatar

Oleksandr Oleksiv OleksivO

View GitHub Profile
@OleksivO
OleksivO / post.js
Last active May 5, 2020 09:18
the description for this gist
import {delay} from 'redux-saga';
import {put, call, takeEvery} from 'redux-saga/effects';
import axios from "axios";
import * as actions from '../actions/authorization'
export default function* watchAuthSaga() {...}
function* authUser(action) {
yield put(actions.authStart());