Skip to content

Commit

Permalink
Change proposal 'submitted' to proposal 'kind' on landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanEngland committed Nov 5, 2024
1 parent f74c551 commit 40b6f9f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import {randomId} from "@mantine/hooks";

type ProposalRowProps = {
title: string
submitted: boolean
kind: string
}

function ProposalsTableRow(props: ProposalRowProps) {
return <Table.Tr>
<Table.Td>{props.title}</Table.Td>
<Table.Td>{props.submitted?'Yes':'No'}</Table.Td>
<Table.Td>{props.kind}</Table.Td>
</Table.Tr>

}
Expand All @@ -33,14 +33,14 @@ function ProposalsStatus () {
<Table.Thead>
<Table.Tr>
<Table.Th>Title</Table.Th>
<Table.Th>Submitted</Table.Th>
<Table.Th>Type</Table.Th>
</Table.Tr>
</Table.Thead>
<Table.Tbody>
{data?.map((proposal) => {
return <ProposalsTableRow key={proposal.code}
title={proposal.title!}
submitted={proposal.submitted!} />;
kind={proposal.kind!} />;
})}
</Table.Tbody>
</Table>
Expand Down

0 comments on commit 40b6f9f

Please sign in to comment.