Skip to content

Commit b68a998

Browse files
authored
Merge pull request #571 from daostack/gh-issue-570
schemeState name can be undefined
2 parents 5006ce4 + b52647f commit b68a998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/proposal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ export class Proposal implements IStateful<IProposalState> {
590590
const queueState: IQueueState = {
591591
dao: item.dao.id,
592592
id: gpQueue.id,
593-
name: schemeState.name,
593+
name: schemeState?.name ?? 'Unknown',
594594
scheme: schemeState,
595595
threshold,
596596
votingMachine: gpQueue.votingMachine

0 commit comments

Comments
 (0)