diff --git a/app/(home-pages)/notifications/MentionNotification.tsx b/app/(home-pages)/notifications/MentionNotification.tsx index 0d3f5b8b..917b2cdf 100644 --- a/app/(home-pages)/notifications/MentionNotification.tsx +++ b/app/(home-pages)/notifications/MentionNotification.tsx @@ -60,21 +60,7 @@ export const MentionNotification = (props: HydratedMentionNotification) => { actionText={actionText} content={ -
- ... this should be some characters in front of{" "} - - {mentionedItemName ? mentionedItemName : "@handleplaceholder"} - {" "} - and some at the end... -
+ {docRecord.description && docRecord.description}
} /> diff --git a/app/(home-pages)/notifications/Notification.tsx b/app/(home-pages)/notifications/Notification.tsx index 197c6131..ea85bfff 100644 --- a/app/(home-pages)/notifications/Notification.tsx +++ b/app/(home-pages)/notifications/Notification.tsx @@ -72,10 +72,10 @@ export const ContentLayout = (props: {
{props.postTitle}
- {props.children} + {props.children &&
{props.children}
} {props.pubRecord && ( <> -
+