diff --git a/app/lish/[did]/[publication]/[rkey]/Blocks/PublishBskyPostBlock.tsx b/app/lish/[did]/[publication]/[rkey]/Blocks/PublishBskyPostBlock.tsx
index 703dc5a6..99cbc481 100644
--- a/app/lish/[did]/[publication]/[rkey]/Blocks/PublishBskyPostBlock.tsx
+++ b/app/lish/[did]/[publication]/[rkey]/Blocks/PublishBskyPostBlock.tsx
@@ -1,18 +1,6 @@
import { PostView } from "@atproto/api/dist/client/types/app/bsky/feed/defs";
import { AppBskyFeedDefs, AppBskyFeedPost } from "@atproto/api";
-import { Separator } from "components/Layout";
-import { useHasPageLoaded } from "components/InitialPageLoadProvider";
-import { BlueskyTiny } from "components/Icons/BlueskyTiny";
-import { CommentTiny } from "components/Icons/CommentTiny";
-import { QuoteTiny } from "components/Icons/QuoteTiny";
-import { ThreadLink, QuotesLink } from "../PostLinks";
-import { useLocalizedDate } from "src/hooks/useLocalizedDate";
-import {
- BlueskyEmbed,
- PostNotAvailable,
-} from "components/Blocks/BlueskyPostBlock/BlueskyEmbed";
-import { BlueskyRichText } from "components/Blocks/BlueskyPostBlock/BlueskyRichText";
-import { openPage } from "../PostPages";
+import { PostNotAvailable } from "components/Blocks/BlueskyPostBlock/BlueskyEmbed";
import { BskyPostContent } from "../BskyPostContent";
export const PubBlueskyPostBlock = (props: {
@@ -22,13 +10,6 @@ export const PubBlueskyPostBlock = (props: {
}) => {
let post = props.post;
- const handleOpenThread = () => {
- openPage(props.pageId ? { type: "doc", id: props.pageId } : undefined, {
- type: "thread",
- uri: post.uri,
- });
- };
-
switch (true) {
case AppBskyFeedDefs.isBlockedPost(post) ||
AppBskyFeedDefs.isBlockedAuthor(post) ||
diff --git a/app/lish/[did]/[publication]/[rkey]/BlueskyQuotesPage.tsx b/app/lish/[did]/[publication]/[rkey]/BlueskyQuotesPage.tsx
index 0d982e50..f2812cb8 100644
--- a/app/lish/[did]/[publication]/[rkey]/BlueskyQuotesPage.tsx
+++ b/app/lish/[did]/[publication]/[rkey]/BlueskyQuotesPage.tsx
@@ -98,8 +98,7 @@ function QuotePost(props: { post: PostView; quotesUri: string }) {
showBlueskyLink={true}
quoteEnabled
replyEnabled
- onEmbedClick={(e) => e.stopPropagation()}
- className="relative rounded cursor-pointer text-sm"
+ className="relative rounded text-sm"
/>
);
}
diff --git a/app/lish/[did]/[publication]/[rkey]/BskyPostContent.tsx b/app/lish/[did]/[publication]/[rkey]/BskyPostContent.tsx
index da33db08..d8145d12 100644
--- a/app/lish/[did]/[publication]/[rkey]/BskyPostContent.tsx
+++ b/app/lish/[did]/[publication]/[rkey]/BskyPostContent.tsx
@@ -25,13 +25,9 @@ export function BskyPostContent(props: {
showEmbed?: boolean;
compactEmbed?: boolean;
showBlueskyLink?: boolean;
- onEmbedClick?: (e: React.MouseEvent) => void;
quoteEnabled?: boolean;
replyEnabled?: boolean;
replyOnClick?: (e: React.MouseEvent) => void;
- replyLine?: {
- onToggle: (e: React.MouseEvent) => void;
- };
}) {
const {
post,
@@ -40,11 +36,9 @@ export function BskyPostContent(props: {
showEmbed = true,
compactEmbed = false,
showBlueskyLink = true,
- onEmbedClick,
quoteEnabled,
replyEnabled,
replyOnClick,
- replyLine,
} = props;
const record = post.record as AppBskyFeedPost.Record;
@@ -52,24 +46,27 @@ export function BskyPostContent(props: {
const url = `https://bsky.app/profile/${post.author.handle}/post/${postId}`;
return (
- // pointer events non so that is there is a replyLine, it can be clicked even though its underneath the postContent (buttons here have pointer-events-auto applied to make them clickable)
-
-
-
+
+