From eed3f36ed39016a9843fdafe5ab02efdd81e427e Mon Sep 17 00:00:00 2001 From: Paras Date: Sun, 8 Oct 2023 03:33:47 +0530 Subject: [PATCH] refactor: add optional chain expression (#811) Co-authored-by: Lukasz Gornicki --- library/src/containers/Servers/Security.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/containers/Servers/Security.tsx b/library/src/containers/Servers/Security.tsx index b02b3219b..21569a7d7 100644 --- a/library/src/containers/Servers/Security.tsx +++ b/library/src/containers/Servers/Security.tsx @@ -275,7 +275,7 @@ const SecurityItem: React.FunctionComponent = ({ )} - {securitySchema && securitySchema.hasDescription() && ( + {securitySchema?.hasDescription() && (
{securitySchema.description()}