fix the lint errors in the frontend

This commit is contained in:
Willem Jiang
2026-04-26 15:37:16 +08:00
parent 28381e1383
commit 9eca429a29
2 changed files with 6 additions and 4 deletions
@@ -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"