Skip to content

Commit

Permalink
feat: remove notification delete button
Browse files Browse the repository at this point in the history
  • Loading branch information
proffapt committed Jul 1, 2024
1 parent e694297 commit ae1c5a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/src/components/Notifications.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,11 @@ const NotificationItem = (props) => {
return (
<Card sx={{ padding: 1 }} role="listitem" aria-label={t("notifications_list_item")}>
<CardContent>
<Tooltip title={t("notifications_delete")} enterDelay={500}>
{/* <Tooltip title={t("notifications_delete")} enterDelay={500}>
<IconButton onClick={handleDelete} sx={{ float: "right", marginRight: -1, marginTop: -1 }} aria-label={t("notifications_delete")}>
<CloseIcon />
</IconButton>
</Tooltip>
</Tooltip> */}
{notification.new === 1 && (
<Tooltip title={t("notifications_mark_read")} enterDelay={500}>
<IconButton
Expand Down Expand Up @@ -612,7 +612,7 @@ const NoNotificationsWithoutSubscription = (props) => {
<br />
{t("notifications_none_for_any_title")}
</Typography>
<Paragraph>{t("notifications_none_for_any_description")}</Paragraph>
{/* <Paragraph>{t("notifications_none_for_any_description")}</Paragraph>
<Paragraph>
{t("notifications_example")}:<br />
<tt>
Expand All @@ -622,7 +622,7 @@ const NoNotificationsWithoutSubscription = (props) => {
</Paragraph>
<Paragraph>
<ForMoreDetails />
</Paragraph>
</Paragraph> */}
</VerticallyCenteredContainer>
);
};
Expand Down

0 comments on commit ae1c5a5

Please sign in to comment.