Added login and logout
This commit is contained in:
@@ -17,5 +17,4 @@ export const employeeSignInFailure = (error) => ({
|
||||
|
||||
export const employeeSignOut = () => ({
|
||||
type: EmployeeActionTypes.EMPLOYEE_SIGN_OUT,
|
||||
payload: error,
|
||||
});
|
||||
|
||||
@@ -4,7 +4,7 @@ const selectEmployee = (state) => state.employee;
|
||||
|
||||
export const selectCurrentEmployee = createSelector(
|
||||
[selectEmployee],
|
||||
(employee) => employee.currentEmployee.technician
|
||||
(employee) => employee.currentEmployee
|
||||
);
|
||||
export const selectSigningIn = createSelector(
|
||||
[selectEmployee],
|
||||
|
||||
Reference in New Issue
Block a user