Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeBoy committed Nov 9, 2023
1 parent 79c336d commit f10988a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/page/components/proposal_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func ProposalsList(window app.WindowNavigator, gtx C, l *load.Load, prop *Propos
if proposal.Category == libwallet.ProposalCategoryActive ||
proposal.Category == libwallet.ProposalCategoryApproved ||
proposal.Category == libwallet.ProposalCategoryRejected {
return layoutProposalVoteBar(window, gtx, prop)
return layoutProposalVoteBar(gtx, prop)
}
return D{}
}),
Expand Down Expand Up @@ -171,7 +171,7 @@ func layoutAuthor(gtx C, l *load.Load, item *ProposalItem) D {
)
}

func layoutProposalVoteBar(window app.WindowNavigator, gtx C, item *ProposalItem) D {
func layoutProposalVoteBar(gtx C, item *ProposalItem) D {
proposal := item.Proposal
yes := float32(proposal.YesVotes)
no := float32(proposal.NoVotes)
Expand Down

0 comments on commit f10988a

Please sign in to comment.