-
+
diff --git a/app/lish/[did]/[publication]/[rkey]/page.tsx b/app/lish/[did]/[publication]/[rkey]/page.tsx
index 9dba7398..3ce8ae47 100644
--- a/app/lish/[did]/[publication]/[rkey]/page.tsx
+++ b/app/lish/[did]/[publication]/[rkey]/page.tsx
@@ -160,6 +160,7 @@ export default async function Post(props: {
*/}
diff --git a/app/lish/createPub/UpdatePubForm.tsx b/app/lish/createPub/UpdatePubForm.tsx
index 2f61301f..34935810 100644
--- a/app/lish/createPub/UpdatePubForm.tsx
+++ b/app/lish/createPub/UpdatePubForm.tsx
@@ -31,6 +31,11 @@ export const EditPubForm = () => {
? true
: record.preferences.showInDiscover,
);
+ let [showComments, setShowComments] = useState(
+ record?.preferences?.showComments === undefined
+ ? true
+ : record.preferences.showComments,
+ );
let [descriptionValue, setDescriptionValue] = useState(
record?.description || "",
);
@@ -62,6 +67,7 @@ export const EditPubForm = () => {
iconFile: iconFile,
preferences: {
showInDiscover: showInDiscover,
+ showComments: showComments,
},
});
toast({ type: "success", content: "Updated!" });
@@ -155,6 +161,15 @@ export const EditPubForm = () => {
+
+