Skip to content

Commit

Permalink
Fix extra footer on non-polytone proposals.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Sep 6, 2023
1 parent 08468d6 commit 62007b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,8 @@ const InnerProposalStatusAndInfo = ({
}
footer={
!polytoneState.loading &&
proposal.status === ProposalStatus.Executed && (
proposal.status === ProposalStatus.Executed &&
polytoneState.data.hasPolytoneMessages && (
<ProposalCrossChainRelayStatus state={polytoneState.data} />
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,8 @@ const InnerProposalStatusAndInfo = ({
}
footer={
!polytoneState.loading &&
proposal.status === ProposalStatus.Executed && (
proposal.status === ProposalStatus.Executed &&
polytoneState.data.hasPolytoneMessages && (
<ProposalCrossChainRelayStatus state={polytoneState.data} />
)
}
Expand Down

0 comments on commit 62007b1

Please sign in to comment.