Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed Jan 3, 2024
1 parent 28fff2f commit f09f7db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion apps/builddao/widget/Compose.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion apps/builddao/widget/Feed.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const CustomFeed = ({ name, hashtag }) => {
index={[
{
action: "hashtag",
key: hashtag || name,
key: name,
options: {
limit: 10,
order: "desc",
Expand Down

0 comments on commit f09f7db

Please sign in to comment.