From f09f7db1d0af1c529565ca917a45738b7a179d6e Mon Sep 17 00:00:00 2001 From: Elliot Braem <16282460+elliotBraem@users.noreply.github.com> Date: Wed, 3 Jan 2024 11:30:01 -0500 Subject: [PATCH] cleanup --- apps/builddao/widget/Compose.jsx | 5 ++++- apps/builddao/widget/Feed.jsx | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/builddao/widget/Compose.jsx b/apps/builddao/widget/Compose.jsx index 7b2b83e9..950b33ef 100644 --- a/apps/builddao/widget/Compose.jsx +++ b/apps/builddao/widget/Compose.jsx @@ -44,7 +44,10 @@ const postToCustomFeed = ({ feed, text, labels }) => { labels.push(feed.name.toLowerCase()); const requiredHashtags = ["build"]; - requiredHashtags.push((feed.hashtag || feed.name).toLowerCase()); + requiredHashtags.push((feed.hashtag).toLowerCase()); + requiredHashtags.push((feed.name).toLowerCase()); + + text = text + `\n\n`; requiredHashtags.forEach((hashtag) => { text = checkAndAppendHashtag(text, hashtag); diff --git a/apps/builddao/widget/Feed.jsx b/apps/builddao/widget/Feed.jsx index 224b6fbd..ec7ed83c 100644 --- a/apps/builddao/widget/Feed.jsx +++ b/apps/builddao/widget/Feed.jsx @@ -30,7 +30,7 @@ const CustomFeed = ({ name, hashtag }) => { index={[ { action: "hashtag", - key: hashtag || name, + key: name, options: { limit: 10, order: "desc",