mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-21 23:46:50 +00:00
fix the lint errors in the frontend
This commit is contained in:
@@ -282,9 +282,11 @@ export default function NewAgentPage() {
|
||||
<DropdownMenuContent align="end">
|
||||
<DropdownMenuItem
|
||||
onSelect={() => void handleSaveAgent()}
|
||||
disabled={
|
||||
!!agent || thread.isLoading || setupAgentStatus !== "idle"
|
||||
}
|
||||
disabled={[
|
||||
Boolean(agent),
|
||||
thread.isLoading,
|
||||
setupAgentStatus !== "idle",
|
||||
].some(Boolean)}
|
||||
>
|
||||
<SaveIcon className="h-4 w-4" />
|
||||
{setupAgentStatus === "requested"
|
||||
|
||||
Reference in New Issue
Block a user