diff --git a/app/(home-pages)/home/Actions/AccountSettings.tsx b/app/(home-pages)/home/Actions/AccountSettings.tsx
index 24a09497..f4d3e583 100644
--- a/app/(home-pages)/home/Actions/AccountSettings.tsx
+++ b/app/(home-pages)/home/Actions/AccountSettings.tsx
@@ -44,7 +44,7 @@ const SettingsMenu = (props: {
setState: (s: typeof props.state) => void;
}) => {
let menuItemClassName =
- "menuItem -mx-[8px] text-left flex items-center justify-between";
+ "menuItem -mx-[8px] text-left flex items-center justify-between hover:no-underline!";
return (
diff --git a/app/(home-pages)/notifications/CommentNotication.tsx b/app/(home-pages)/notifications/CommentNotication.tsx
index 4265dd42..9cd408e7 100644
--- a/app/(home-pages)/notifications/CommentNotication.tsx
+++ b/app/(home-pages)/notifications/CommentNotication.tsx
@@ -14,6 +14,7 @@ import {
ContentLayout,
Notification,
} from "./Notification";
+import { AtUri } from "@atproto/api";
export const CommentNotification = (
props: { cardBorderHidden: boolean } & HydratedCommentNotification,
@@ -27,11 +28,13 @@ export const CommentNotification = (
profileRecord.displayName ||
props.commentData.bsky_profiles?.handle ||
"Someone";
- const publication =
- props.commentData.documents?.documents_in_publications[0]?.publications ||
- undefined;
+ const pubRecord = props.commentData.documents?.documents_in_publications[0]
+ ?.publications?.record as PubLeafletPublication.Record;
+ let rkey = new AtUri(props.commentData.documents?.uri!).rkey;
+
return (
}
actionText={<>{displayName} commented on your post>}
@@ -39,7 +42,7 @@ export const CommentNotification = (
I'm just gonna put the description here. The surrounding context is
just sort of a pain to figure out
@@ -39,7 +39,7 @@ export const DummyUserMentionNotification = (props: {
content={
diff --git a/app/(home-pages)/notifications/Notification.tsx b/app/(home-pages)/notifications/Notification.tsx
index c9fc2e38..1175987e 100644
--- a/app/(home-pages)/notifications/Notification.tsx
+++ b/app/(home-pages)/notifications/Notification.tsx
@@ -1,19 +1,17 @@
import { Avatar } from "components/Avatar";
import { BaseTextBlock } from "app/lish/[did]/[publication]/[rkey]/BaseTextBlock";
import { PubLeafletPublication, PubLeafletRichtextFacet } from "lexicons/api";
-import { useEntity, useReplicache } from "src/replicache";
-import { PubIcon } from "components/ActionBar/Publications";
-import { Json } from "supabase/database.types";
export const Notification = (props: {
icon: React.ReactNode;
actionText: React.ReactNode;
content?: React.ReactNode;
cardBorderHidden?: boolean;
+ href: string;
}) => {
return (
+
{props.icon}
{props.actionText}
@@ -41,11 +43,9 @@ export const Notification = (props: {
export const ContentLayout = (props: {
children: React.ReactNode;
postTitle: string;
- publication?: { record: Json; uri: string };
+ pubRecord?: PubLeafletPublication.Record;
cardBorderHidden: boolean;
}) => {
- let pubRecord = props.publication?.record as PubLeafletPublication.Record;
-
return (
diff --git a/app/(home-pages)/notifications/ReplyNotification.tsx b/app/(home-pages)/notifications/ReplyNotification.tsx
index b839c104..cfc1a4ca 100644
--- a/app/(home-pages)/notifications/ReplyNotification.tsx
+++ b/app/(home-pages)/notifications/ReplyNotification.tsx
@@ -19,7 +19,7 @@ export const DummyReplyNotification = (props: {
void;
}) => {
let menuItemClassName =
- "menuItem -mx-[8px] text-left flex items-center justify-between";
+ "menuItem -mx-[8px] text-left flex items-center justify-between hover:no-underline!";
return (