Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
larinam committed Dec 9, 2023
1 parent 0c4ec90 commit 9ae51f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/components/CalendarComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,7 @@ const CalendarComponent = ({ teamData, holidays, updateTeamData, authHeader }) =
<span className="collapse-icon" onClick={() => toggleTeamCollapse(team._id)}>
<FontAwesomeIcon icon={collapsedTeams.includes(team._id) ? faChevronRight : faChevronDown} />
</span>
<span className="eye-icon"
className={`eye-icon ${focusedTeamId === team._id ? 'eye-icon-active' : ''}`}
<span className={`eye-icon ${focusedTeamId === team._id ? 'eye-icon-active' : ''}`}
onClick={() => setFocusedTeamId(team._id === focusedTeamId ? null : team._id)}>
<FontAwesomeIcon icon={faEye} />
</span>
Expand Down

0 comments on commit 9ae51f7

Please sign in to comment.