diff --git a/apps/builddao/widget/Compose.jsx b/apps/builddao/widget/Compose.jsx index d5a42980..306fa0e4 100644 --- a/apps/builddao/widget/Compose.jsx +++ b/apps/builddao/widget/Compose.jsx @@ -158,7 +158,9 @@ const postToCustomFeed = ({ feed, text, labels }) => { return Social.set(data, { force: true, onCommit: () => { - // console.log(`Commited ${feed}: #${postId}`); + setPostContent(""); + Storage.privateSet(draftKey, props.template || ""); + setHandler("autocompleteSelected"); // this is a hack to force the iframe to update }, onCancel: () => { // console.log(`Cancelled ${feed}: #${postId}`); @@ -572,6 +574,7 @@ return ( )}