Skip to content

Commit

Permalink
MAT-7793: update for feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmcphillips committed Dec 10, 2024
1 parent 80e5b1c commit 81f2e15
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions src/CqlBuilderPanel/common/utils.tsx
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -9,7 +7,7 @@ export const formatExpressionName = (values) => {
: `"${values?.name}"`
: values?.name;
};
// given

export const getNewExpressionsAndLines = (
values: any,
cursorPosition: any,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export interface FunctionProps {
funct?: Funct;
onClose?: Function;
operation?: string;
cqlFunction?: any;
}

export default function FunctionBuilder({
Expand All @@ -44,7 +43,6 @@ export default function FunctionBuilder({
funct,
cqlBuilderLookupsTypes,
operation,
cqlFunction,
}: FunctionProps) {
const [argumentsEditorOpen, setArgumentsEditorOpen] =
useState<boolean>(false);
Expand Down

0 comments on commit 81f2e15

Please sign in to comment.