Skip to content

Commit

Permalink
added NDC Trust to congress (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
Megha-Dev-19 authored Apr 24, 2024
1 parent 2fcb421 commit 77b73c3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apps/astraplusplus/widget/home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const HoMDaoId = props.dev
? "/*__@replace:HoMDaoIdTesting__*/"
: "/*__@replace:HoMDaoId__*/";

const ndcTrustDaoId = "ndctrust.sputnik-dao.near";
let { page, tab, daoId, house } = props;
if (!page) {
page = "social-feed";
Expand Down Expand Up @@ -115,6 +116,13 @@ const pages = [
href: currentLink + `?page=congress&house=vb`,
onClick: () => router.navigate({ page: "congress", house: "vb" }),
widgetName: "DAO.index"
},
{
title: "NDC Trust",
active: page === "dao" && daoId === ndcTrustDaoId,
href: currentLink + `?page=dao&daoId=${ndcTrustDaoId}`,
onClick: () => router.navigate({ page: "dao", daoId: ndcTrustDaoId }),
widgetName: "DAO.index"
}
],
[
Expand Down

0 comments on commit 77b73c3

Please sign in to comment.