Skip to content

Commit

Permalink
fix: Improve Keyboard Accessibility for Notification Icon (#1435)
Browse files Browse the repository at this point in the history
Signed-off-by: Aryan Singh <[email protected]>
  • Loading branch information
aryanas159 authored Jul 27, 2023
1 parent 437ec57 commit 05291c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/molecules/AuthSection/auth-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ const AuthSection: React.FC = ({}) => {
}}
>
<PopoverTrigger onClick={async () => await fetchNotifications()} asChild>
<div className="relative cursor-pointer">
<button className="relative cursor-pointer">
{userInfo && userInfo.notification_count > 0 && (
<span className="absolute right-0 block w-2 h-2 bg-orange-300 rounded-full"></span>
)}
<IoNotifications className="text-xl text-light-slate-9" />
</div>
</button>
</PopoverTrigger>
<PopoverContent align="end" className="bg-white !rounded-xl p-1 ">
{loading ? (
Expand Down

0 comments on commit 05291c0

Please sign in to comment.