Skip to content

Commit

Permalink
UPDATE: Small change to Teachers component
Browse files Browse the repository at this point in the history
  • Loading branch information
GGalina committed May 15, 2024
1 parent cec087a commit bec06d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Teachers/Teachers.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export const Teachers = () => {
</LoadMore>
)}
{isLoading && <Loader />}
{filteredTeachers.length === 0 && teachers.length === 0 && (
{filteredTeachers.length === 0 && teachers.length === 0 && !isLoading && (
<NoResults>Sorry, no teachers found matching the selected criteria</NoResults>
)}
</TeachersContainer>
Expand Down

0 comments on commit bec06d5

Please sign in to comment.