Skip to content

Commit

Permalink
FIX: button problem with notificaions
Browse files Browse the repository at this point in the history
  • Loading branch information
Diebbo committed Dec 17, 2024
1 parent 544af99 commit b841f07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/components/calendar/calendarCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ const CalendarCell: React.FC<CalendarCellProps> = ({
<div className="space-y-3">
{todayAppointments.map((item, index) => (
<Button
variant="outlined"
variant="bordered"
key={index}
className="p-3 border rounded-lg border-2 hover:border-secondary cursor-pointer w-full"
onPress={() => {
Expand Down
3 changes: 1 addition & 2 deletions client/components/navbar/notifications-dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,7 @@ export const NotificationsDropdown = () => {
key={index}
className="px-2 py-2"
textValue={notification.title}
onClick={(e) => {
e.preventDefault();
onPress={() => {
window.location.href = notification.link;
}}
closeOnSelect={false}
Expand Down

0 comments on commit b841f07

Please sign in to comment.