Skip to content

Commit

Permalink
council budget added to funding proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
vrrayz committed Sep 1, 2023
1 parent ba0c7ab commit 6b04de3
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,7 @@ export const ProposalDetails = ({ proposalDetails }: Props) => {
const { api } = useApi()
const { budget } = useCouncilStatistics()
const { group } = useWorkingGroup({
name:
proposalDetails?.type === 'fundingRequest'
? 'contentWorkingGroup'
: (proposalDetails as UpdateGroupBudgetDetails)?.group?.id,
name: (proposalDetails as UpdateGroupBudgetDetails)?.group?.id,
})
const membershipPrice = useFirstObservableValue(() => api?.query.members.membershipPrice(), [api?.isConnected])
const renderProposalDetail = useCallback((detail: RenderNode, index: number) => {
Expand Down Expand Up @@ -89,8 +86,8 @@ export const ProposalDetails = ({ proposalDetails }: Props) => {
return [
{
renderType: 'Amount',
label: 'Current Content WG Budget',
value: group?.budget,
label: 'Current Council Budget',
value: budget.amount,
},
] as RenderNode[]
}
Expand Down

0 comments on commit 6b04de3

Please sign in to comment.