Skip to content

Commit

Permalink
resolve issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pratyush1712 committed Oct 24, 2023
1 parent ee8d640 commit 133c8a5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions frontend/src/components/Sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ const Sidebar = ({ type, children }: SidebarProps) => {
key={path}
onClick={() => setSelected(path)}
className={styles.icon}
aria-current={path === selected ? 'page' : undefined}
aria-label={caption}
to={path}
>
<div
Expand All @@ -98,11 +100,7 @@ const Sidebar = ({ type, children }: SidebarProps) => {
: styles.circle
}
>
<a
href={path}
aria-current={path === selected ? 'page' : undefined}
></a>
<img alt={''} src={icon} />
<img alt={caption} src={icon} />
</div>
</Link>
{caption}
Expand Down

0 comments on commit 133c8a5

Please sign in to comment.