Skip to content

Commit

Permalink
FIX:onClick notifche
Browse files Browse the repository at this point in the history
  • Loading branch information
Diebbo committed Jan 8, 2025
1 parent 6bd26ea commit 77013f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/components/home/card-friends.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export const CardFriends = ({
color="success"
variant="ghost"
radius="lg"
onClick={handleNewFriend}
onPress={handleNewFriend}
>
Add
</Button>
Expand Down
2 changes: 1 addition & 1 deletion client/components/navbar/notifications-dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export const NotificationsDropdown = () => {
key={index}
className="px-2 py-2"
textValue={notification.title}
onPress={() => {
onClick={() => {
window.location.href = notification.link;
}}
closeOnSelect={false}
Expand Down

0 comments on commit 77013f5

Please sign in to comment.