Remove a few unneeded comments and component props
Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
		
							parent
							
								
									d7bacf96c7
								
							
						
					
					
						commit
						5956d482e8
					
				|  | @ -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"> | ||||
|  |  | |||
|  | @ -123,7 +123,6 @@ const QueryPanel: FC<PanelProps> = ({ idx, metricNames }) => { | |||
|           > | ||||
|             <TreeView | ||||
|               panelIdx={idx} | ||||
|               retriggerIdx={retriggerIdx} | ||||
|               selectedNode={selectedNode} | ||||
|               setSelectedNode={setSelectedNode} | ||||
|               closeTreeView={() => { | ||||
|  |  | |||
|  | @ -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; | ||||
|  |  | |||
|  | @ -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} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue