Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed Jan 8, 2024
1 parent 9976c26 commit f69d61c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/builddao/widget/Feed.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ const { Aside } = VM.require("buildhub.near/widget/Aside");
Feed = Feed || (() => <></>); // ensure it's defined or set to a default component
Aside = Aside || (() => <></>); // ensure it's defined or set to a default component

const hashtag = props.hashtag;
const { type, hashtag } = props;
type = hashtag;
hashtag = type;

const Container = styled.div`
display: grid;
Expand All @@ -25,7 +27,7 @@ const MainContent = styled.div`
grid-column: span 4 / span 4;
`;

const [activeFeed, setActiveFeed] = useState(hashtag || "resolutions");
const [activeFeed, setActiveFeed] = useState(type || "resolutions");
const [template, setTemplate] = useState("What did you have in mind?");

function formatDate(date) {
Expand Down

0 comments on commit f69d61c

Please sign in to comment.