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>
|
||||
<SlackConnections
|
||||
organizationId={organization.id!}
|
||||
slackConnections={organization.slackConnections?.edges.map((edge) => edge.node) ?? []}
|
||||
slackConnections={organization.slackConnections?.edges?.map((edge) => edge.node) ?? []}
|
||||
/>
|
||||
</Card>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user