From f73e4eb1ea6a700a74597571de05186759ef2562 Mon Sep 17 00:00:00 2001 From: mcmcphillips Date: Tue, 17 Dec 2024 12:29:10 -0800 Subject: [PATCH] MAT-7796: Address feedback --- src/CqlBuilderPanel/functionsSection/FunctionsSection.tsx | 1 - src/CqlBuilderPanel/functionsSection/functions/Functions.tsx | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/CqlBuilderPanel/functionsSection/FunctionsSection.tsx b/src/CqlBuilderPanel/functionsSection/FunctionsSection.tsx index cfb09de..2aef264 100644 --- a/src/CqlBuilderPanel/functionsSection/FunctionsSection.tsx +++ b/src/CqlBuilderPanel/functionsSection/FunctionsSection.tsx @@ -16,7 +16,6 @@ export interface FunctionProps { isCQLUnchanged: boolean; functions?: FunctionLookup[]; resetCql?: Function; - cqlBuilderLookupTypes?: any; } const getArgumentNames = (logic: string) => { diff --git a/src/CqlBuilderPanel/functionsSection/functions/Functions.tsx b/src/CqlBuilderPanel/functionsSection/functions/Functions.tsx index 9b05b5e..e98f4c3 100644 --- a/src/CqlBuilderPanel/functionsSection/functions/Functions.tsx +++ b/src/CqlBuilderPanel/functionsSection/functions/Functions.tsx @@ -2,7 +2,7 @@ import React, { useState, useEffect, useMemo, useCallback } from "react"; import _ from "lodash"; import tw from "twin.macro"; import "styled-components/macro"; -import { FunctionLookup, Lookup } from "../../../model/CqlBuilderLookup"; +import { FunctionLookup } from "../../../model/CqlBuilderLookup"; import { FunctionProps } from "../FunctionsSection"; import { ColumnDef, @@ -80,7 +80,7 @@ const Functions = ({ const [editFunctionDialogOpen, setEditFunctionDialogOpen] = useState(); const [deleteDialogOpen, setDeleteDialogOpen] = useState(false); - const [selectedFunction, setSelectedFunction] = useState(); + const [selectedFunction, setSelectedFunction] = useState(); const handleFunctionEdit = () => {}; // table data const data = visibleFunctions;