diff --git a/ui/src/components/CommandPalette.tsx b/ui/src/components/CommandPalette.tsx
index d4199e7e..2ffc3bf5 100644
--- a/ui/src/components/CommandPalette.tsx
+++ b/ui/src/components/CommandPalette.tsx
@@ -187,7 +187,7 @@ export function CommandPalette() {
{issue.title}
{issue.assigneeAgentId && (() => {
const name = agentName(issue.assigneeAgentId);
- return name ? : null;
+ return name ? : null;
})()}
))}