Skip to content

Commit ac79007

Browse files
committed
Fix Checkstyle
1 parent 1e058df commit ac79007

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

exec/java-exec/src/main/resources/webapp/src/components/common/CommandPalette.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import { useState, useEffect, useMemo, useRef } from 'react';
1919
import { useNavigate, useLocation } from 'react-router-dom';
2020
import { Modal, Input, List, Typography, Space } from 'antd';
21+
import type { InputRef } from 'antd';
2122
import { SearchOutlined, FolderOutlined, CheckOutlined } from '@ant-design/icons';
2223
import { useQuery } from '@tanstack/react-query';
2324
import { getProjects } from '../../api/projects';
@@ -29,7 +30,7 @@ export default function CommandPalette() {
2930
const [search, setSearch] = useState('');
3031
const navigate = useNavigate();
3132
const location = useLocation();
32-
const inputRef = useRef<any>(null);
33+
const inputRef = useRef<InputRef>(null);
3334

3435
// Extract current project ID from URL
3536
const currentProjectId = location.pathname.match(/\/projects\/([^/]+)/)?.[1];

exec/java-exec/src/main/resources/webapp/src/components/project/ProjectLineage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ export default function ProjectLineage({ project }: Props) {
6767
// Build query -> viz map (via savedQueryId on viz, if available)
6868
const queryToViz: Record<string, string[]> = {};
6969
vizs.forEach(v => {
70-
if ((v as any).savedQueryId && queryIdSet.has((v as any).savedQueryId)) {
71-
const qid = (v as any).savedQueryId;
70+
if (v.savedQueryId && queryIdSet.has(v.savedQueryId)) {
71+
const qid = v.savedQueryId;
7272
if (!queryToViz[qid]) {
7373
queryToViz[qid] = [];
7474
}

exec/java-exec/src/main/resources/webapp/src/hooks/useProspector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ export function useProspector(
397397
);
398398

399399
abortRef.current = controller;
400-
}, [executeToolCall]);
400+
}, [executeToolCall, effectiveMaxToolRounds]);
401401

402402
const sendMessage = useCallback((text: string, context: ChatContext) => {
403403
if (isStreaming) {

0 commit comments

Comments
 (0)