Updated employee login
This commit is contained in:
@@ -4,9 +4,13 @@ const selectEmployee = (state) => state.employee;
|
||||
|
||||
export const selectCurrentEmployee = createSelector(
|
||||
[selectEmployee],
|
||||
(employee) => employee.currentEmployee
|
||||
(employee) => employee.currentEmployee.technician
|
||||
);
|
||||
export const selectSigningIn = createSelector(
|
||||
[selectEmployee],
|
||||
(employee) => employee.signingIn
|
||||
);
|
||||
export const selectSignInError = createSelector(
|
||||
[selectEmployee],
|
||||
(employee) => employee.error
|
||||
);
|
||||
Reference in New Issue
Block a user