Skip to content

Commit

Permalink
Remove abstain proposal and update blog post link
Browse files Browse the repository at this point in the history
  • Loading branch information
sembrestels committed Sep 12, 2020
1 parent f42c0b2 commit 5242678
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/ConvictionBanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function ConvictionBanner() {
top: 1px;
}
`}
href="https://medium.com/commonsstack"
href="https://medium.com/commonsstack/cstk-token-holders-can-now-use-conviction-voting-on-xdai-5090fdc3b8ad"
>
Learn more
</ButtonBase>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ const Metrics = React.memo(function Metrics({
symbol="CSTK"
/>
</MetricContainer>
<Metric label="Proposals" value={amountOfProposals} />
<Metric label="Proposals" value={amountOfProposals - 1} />
</Box>
</>
)
Expand Down
5 changes: 3 additions & 2 deletions src/hooks/useFilterProposals.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,13 @@ const useFilterProposals = (proposals, myStakes) => {
proposal
)
const proposalTypeStatus = getProposalType(proposal)

console.log(proposal)
return (
testExecutionFilter(executionFilter, proposalExecutionStatus) &&
testTypeFilter(typeFilter, proposalTypeStatus) &&
testSupportFilter(supportFilter, proposalSupportStatus) &&
testSearchFilter(proposal.name, textSearch)
testSearchFilter(proposal.name, textSearch) &&
proposal.id !== '1'
)
}),
[
Expand Down

0 comments on commit 5242678

Please sign in to comment.