Misssing Reference in saga
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
import * as FileSystem from "expo-file-system";
|
||||
import { all, call, delay, put, select, takeLatest } from "redux-saga/effects";
|
||||
import { all, call, put, select, takeLatest } from "redux-saga/effects";
|
||||
import { handleUpload } from "../../util/document-upload.utility";
|
||||
import { uploadPhotosFailure, uploadPhotosSuccess } from "./photos.actions";
|
||||
import {
|
||||
uploadPhotosFailure,
|
||||
uploadPhotosSuccess,
|
||||
removeAllPhotos,
|
||||
} from "./photos.actions";
|
||||
import PhotosActionTypes from "./photos.types";
|
||||
|
||||
export function* onRemovePhotos() {
|
||||
@@ -53,7 +57,6 @@ export function* onUploadAllPhotos() {
|
||||
|
||||
export function* uploadAllPhotosAction() {
|
||||
try {
|
||||
yield delay(500);
|
||||
const photos = yield select((state) => state.photos.photos);
|
||||
const bodyshop = yield select((state) => state.user.bodyshop);
|
||||
const user = yield select((state) => state.user);
|
||||
|
||||
Reference in New Issue
Block a user