Adjusted camera stack and app reducer.
This commit is contained in:
@@ -4,13 +4,17 @@ const selectApp = (state) => state.app;
|
||||
|
||||
export const selectCurrentCameraJobId = createSelector(
|
||||
[selectApp],
|
||||
(user) => app.cameraJobId
|
||||
(app) => app.cameraJobId
|
||||
);
|
||||
export const selectCurrentCameraJob = createSelector(
|
||||
[selectApp],
|
||||
(app) => app.cameraJob
|
||||
);
|
||||
export const selectDocumentUploadInProgress = createSelector(
|
||||
[selectApp],
|
||||
(user) => app.documentUploadInProgress
|
||||
(app) => app.documentUploadInProgress
|
||||
);
|
||||
export const selectDocumentUploadError = createSelector(
|
||||
[selectApp],
|
||||
(user) => app.documentUploadError
|
||||
(app) => app.documentUploadError
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user