Remove a few unneeded comments and component props

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz 2024-09-09 11:19:47 +02:00
parent d7bacf96c7
commit 5956d482e8
4 changed files with 1 additions and 5 deletions

View file

@ -206,7 +206,7 @@ const ExpressionInput: FC<ExpressionInputProps> = ({
enableLinter,
enableQueryHistory,
queryHistory,
]); // TODO: Make this depend on external settings changes, maybe use dynamic config compartment again.
]); // TODO: Maybe use dynamic config compartment again as in the old UI?
return (
<Group align="flex-start" wrap="nowrap" gap="xs">

View file

@ -123,7 +123,6 @@ const QueryPanel: FC<PanelProps> = ({ idx, metricNames }) => {
>
<TreeView
panelIdx={idx}
retriggerIdx={retriggerIdx}
selectedNode={selectedNode}
setSelectedNode={setSelectedNode}
closeTreeView={() => {

View file

@ -7,8 +7,6 @@ import { Card, CloseButton } from "@mantine/core";
const TreeView: FC<{
panelIdx: number;
// TODO: Do we need retriggerIdx for the tree view AST parsing? Maybe for children!
retriggerIdx: number;
selectedNode: {
id: string;
node: ASTNode;

View file

@ -326,7 +326,6 @@ const ScrapePoolList: FC<ScrapePoolListProp> = ({
}}
>
<Table.Td valign="top">
{/* TODO: Process target URL like in old UI */}
<EndpointLink
endpoint={target.scrapeUrl}
globalUrl={target.globalUrl}