updated timeticket selectors

This commit is contained in:
jfrye122
2023-05-11 15:11:32 -04:00
parent 1f85751404
commit 9573283901
4 changed files with 28 additions and 27 deletions

View File

@@ -16,7 +16,7 @@ export const selectSignInError = createSelector(
);
export const selectRates = createSelector(
[selectEmployee],
(employee) => employee.currentEmployee.technician.rates
(employee) => employee?.currentEmployee?.technician?.rates
);
export const selectGettingRates = createSelector(
[selectEmployee],