diff --git a/frontend/src/app/hr/page.tsx b/frontend/src/app/hr/page.tsx index 30805b84..cc2cfa28 100644 --- a/frontend/src/app/hr/page.tsx +++ b/frontend/src/app/hr/page.tsx @@ -96,12 +96,18 @@ export default function HRPage() { return (
+ {headcount.isLoading || actions.isLoading || onboarding.isLoading ? ( +
Loading…
+ ) : null} + {headcount.error ?
{(headcount.error as Error).message}
: null} + {actions.error ?
{(actions.error as Error).message}
: null} + {onboarding.error ?
{(onboarding.error as Error).message}
: null}

HR

Headcount requests and employment actions.

-
@@ -113,6 +119,10 @@ export default function HRPage() { Managers request; HR fulfills later. + {departments.isLoading ?
Loading departments…
: null} + {departments.error ?
{(departments.error as Error).message}
: null} + {employees.isLoading ?
Loading employees…
: null} + {employees.error ?
{(employees.error as Error).message}
: null}