Skip to content

Commit

Permalink
check hashtag
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed Jan 5, 2024
1 parent 8b40cbe commit a0ace27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/builddao/widget/Compose.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const postToCustomFeed = ({ feed, text, labels }) => {
labels.push(feed.name.toLowerCase());

const requiredHashtags = ["build"];
requiredHashtags.push(feed.hashtag.toLowerCase());
if (feed.hashtag) requiredHashtags.push(feed.hashtag.toLowerCase());
requiredHashtags.push(feed.name.toLowerCase());

text = text + `\n\n`;
Expand Down
2 changes: 2 additions & 0 deletions apps/builddao/widget/Feed.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ const feedsDict = {
name: "resolution",
hashtag: "nearyearresolutions2024",
template: `### 🎉 NEAR YEAR RESOLUTIONS: 2024
(posted via [Build DAO Gateway](https://nearbuilders.org/feed))
**🌟 REFLECTIONS ON THE PAST YEAR:**
- [Reflection 1 from the past year]
Expand All @@ -89,6 +90,7 @@ const feedsDict = {
icon: "bi-bell",
name: "update",
template: `### 🔔 DAILY UPDATE: ${formatDate(new Date())}
(posted via [Build DAO Gateway](https://nearbuilders.org/feed))
**📆 YESTERDAY:**
- [Task 1, hyperlink proof]
Expand Down

0 comments on commit a0ace27

Please sign in to comment.