From 81f2e15cfd087b5c5c59612bf77ddc70df19af2e Mon Sep 17 00:00:00 2001 From: mcmcphillips Date: Mon, 9 Dec 2024 09:18:18 -0800 Subject: [PATCH] MAT-7793: update for feedback --- src/CqlBuilderPanel/common/utils.tsx | 4 +--- .../functionsSection/functionBuilder/FunctionBuilder.tsx | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/CqlBuilderPanel/common/utils.tsx b/src/CqlBuilderPanel/common/utils.tsx index af25f032..5c9a0040 100644 --- a/src/CqlBuilderPanel/common/utils.tsx +++ b/src/CqlBuilderPanel/common/utils.tsx @@ -1,5 +1,3 @@ -// import { formatExpressionName } from "../definitionsSection/definitionBuilder/DefinitionBuilder"; - export const formatExpressionName = (values) => { return values?.type !== "Timing" && values?.type !== "Pre-Defined Functions" ? values?.type === "Functions" || values?.type === "Fluent Functions" @@ -9,7 +7,7 @@ export const formatExpressionName = (values) => { : `"${values?.name}"` : values?.name; }; -// given + export const getNewExpressionsAndLines = ( values: any, cursorPosition: any, diff --git a/src/CqlBuilderPanel/functionsSection/functionBuilder/FunctionBuilder.tsx b/src/CqlBuilderPanel/functionsSection/functionBuilder/FunctionBuilder.tsx index 37e8e0cb..b8c5c2ec 100644 --- a/src/CqlBuilderPanel/functionsSection/functionBuilder/FunctionBuilder.tsx +++ b/src/CqlBuilderPanel/functionsSection/functionBuilder/FunctionBuilder.tsx @@ -33,7 +33,6 @@ export interface FunctionProps { funct?: Funct; onClose?: Function; operation?: string; - cqlFunction?: any; } export default function FunctionBuilder({ @@ -44,7 +43,6 @@ export default function FunctionBuilder({ funct, cqlBuilderLookupsTypes, operation, - cqlFunction, }: FunctionProps) { const [argumentsEditorOpen, setArgumentsEditorOpen] = useState(false);