File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed
Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ import { sendRequest } from "../actions/Send";
66import { makeStyles } from '@material-ui/core/styles' ;
77import Button from '@material-ui/core/Button' ;
88import TextField from '@material-ui/core/TextField' ;
9- import signInReducer from "../reducers/SignIn" ;
10-
119
1210const useStyles = makeStyles ( theme => ( {
1311 SendPage : {
Original file line number Diff line number Diff line change 11import { call , put , takeEvery } from 'redux-saga/effects' ;
22import { sendApi } from '../apis/Send' ;
3- import history from '../Helpers /history'
3+ import history from '../helpers /history'
44import { sendFailed , sendSuccess } from "../actions/Send" ;
55
66function * send ( action ) {
Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ import { signInApi, signUpApi } from '../apis/SignIn';
44import { GetAllFunney } from './Funney'
55import history from '../helpers/history' ;
66
7-
8-
97function * signIn ( action ) {
108 const { error } = yield call ( signInApi , action . data ) ;
119 if ( error ) {
@@ -31,7 +29,7 @@ function* signUp(action) {
3129}
3230
3331function * signOut ( ) {
34- yield call ( history . push , '/' ) ;
32+ yield call ( history . push , '/login ' ) ;
3533}
3634
3735const saga = [
You can’t perform that action at this time.
0 commit comments