+
{notifications.map((n) => {
if (n.type === "comment") {
- if (n.parentData)
- return (
-
- );
- return (
-
- );
+ if (n.parentData) return ;
+ return ;
}
})}
diff --git a/app/(home-pages)/notifications/ReplyNotification.tsx b/app/(home-pages)/notifications/ReplyNotification.tsx
index f07dad77..03d02065 100644
--- a/app/(home-pages)/notifications/ReplyNotification.tsx
+++ b/app/(home-pages)/notifications/ReplyNotification.tsx
@@ -15,9 +15,7 @@ import {
import { AppBskyActorProfile, AtUri } from "@atproto/api";
import { blobRefToSrc } from "src/utils/blobRefToSrc";
-export const ReplyNotification = (
- props: { cardBorderHidden: boolean } & HydratedCommentNotification,
-) => {
+export const ReplyNotification = (props: HydratedCommentNotification) => {
let docRecord = props.commentData.documents
?.data as PubLeafletDocument.Record;
let commentRecord = props.commentData.record as PubLeafletComment.Record;
@@ -42,16 +40,12 @@ export const ReplyNotification = (
return (
}
actionText={`${displayName} replied to your comment`}
- cardBorderHidden={props.cardBorderHidden}
content={
-
+