a tool for shared writing and social publishing

don't publish to bluesky if share quiet selected

+9 -8
+9 -8
app/[leaflet_id]/publish/PublishPost.tsx
··· 63 63 if (!doc) return; 64 64 65 65 let post_url = `https://${props.record?.base_path}/${doc.rkey}`; 66 - let publishedPost = await publishPostToBsky({ 67 - text: postContent, 68 - title: props.title, 69 - url: post_url, 70 - description: props.description, 71 - record: doc.record, 72 - rkey: doc.rkey, 73 - }); 66 + if (shareOption === "bluesky") 67 + await publishPostToBsky({ 68 + text: postContent, 69 + title: props.title, 70 + url: post_url, 71 + description: props.description, 72 + record: doc.record, 73 + rkey: doc.rkey, 74 + }); 74 75 setIsLoading(false); 75 76 props.setPublishState({ state: "success", post_url }); 76 77 }