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);