diff --git a/src/components/Activities/InfraPlanning.jsx b/src/components/Activities/InfraPlanning.jsx index 0445f16b..384bce74 100644 --- a/src/components/Activities/InfraPlanning.jsx +++ b/src/components/Activities/InfraPlanning.jsx @@ -47,7 +47,7 @@ const InfraPlanning = () =>
Loading...
)} - {( !isLoading && projectInfra.length === 0 ) && (No Result Found
)} + {( !isLoading && projectInfra?.length === 0 ) && (No Result Found
)} {(!isLoading && projectInfra?.length > 0) && ({errors.selectedEmployees.message}
{" "} - {/* Use message from Zod schema */} +