Fix optional chaining
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
@@ -263,7 +263,7 @@ export default function TrustCenterPage({ queryRef }: Props) {
|
|||||||
<Card padded>
|
<Card padded>
|
||||||
<SlackConnections
|
<SlackConnections
|
||||||
organizationId={organization.id!}
|
organizationId={organization.id!}
|
||||||
slackConnections={organization.slackConnections?.edges.map((edge) => edge.node) ?? []}
|
slackConnections={organization.slackConnections?.edges?.map((edge) => edge.node) ?? []}
|
||||||
/>
|
/>
|
||||||
</Card>
|
</Card>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user