mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-23 16:35:59 +00:00
fix: allow the first activity to be reporting (#8)
This commit is contained in:
@@ -65,8 +65,10 @@ export function ResearchBlock({
|
||||
|
||||
// When the research id changes, set the active tab to activities
|
||||
useEffect(() => {
|
||||
setActiveTab("activities");
|
||||
}, [researchId]);
|
||||
if (!hasReport) {
|
||||
setActiveTab("activities");
|
||||
}
|
||||
}, [hasReport, researchId]);
|
||||
|
||||
return (
|
||||
<div className={cn("h-full w-full", className)}>
|
||||
|
||||
Reference in New Issue
Block a user