Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Frontend/src/components/ChatPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export function ChatPanel({ onChatComplete }: { onChatComplete?: () => void } =
const q = (location.state as { chatQuery?: string } | null)?.chatQuery?.trim();
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

require changes on the improveness

if (!q || !repoReady) return;
navigate(location.pathname, { replace: true, state: {} });
setInput(q);
setInput("");
void sendChatQuestion(q);
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add space

}, [location.key, location.pathname, navigate, repoReady, sendChatQuestion]);

Expand Down