Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Ohlsen <[email protected]>
  • Loading branch information
ohltyler committed Dec 10, 2024
1 parent 2395fce commit c086392
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions public/pages/workflow_detail/tools/query/query.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export function Query(props: QueryProps) {
const [useCustomQuery, setUseCustomQuery] = useState<boolean>(false);

// query response state
// TODO: clean up how/what responses we are persisting and where.
const [queryResponse, setQueryResponse] = useState<
SearchResponse | undefined
>(undefined);
Expand Down Expand Up @@ -281,9 +280,6 @@ export function Query(props: QueryProps) {
<EuiText size="m">Results</EuiText>
</EuiFlexItem>
<EuiFlexItem>
{/**
* TODO: clean up how/what responses we are persisting
*/}
{queryResponse === undefined || isEmpty(queryResponse) ? (
<EuiEmptyPrompt
title={<h2>No results</h2>}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,16 @@ import {
EuiFlexGroup,
EuiFlexItem,
EuiText,
EuiCodeEditor,
EuiEmptyPrompt,
EuiCallOut,
} from '@elastic/eui';
import { JsonField } from '../input_fields';
import {
customStringify,
IConfigField,
QUERY_PRESETS,
QueryParam,
QueryPreset,
RequestFormValues,
SearchHit,
SearchResponse,
WorkflowFormValues,
} from '../../../../../common';
Expand Down

0 comments on commit c086392

Please sign in to comment.