Skip to content

Commit bf5eb29

Browse files
committed
Run prettier
1 parent c4e86df commit bf5eb29

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/PinnedTodoList.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ export const PinnedTodoList: React.FC<PinnedTodoListProps> = ({ workspaceId }) =
3535

3636
// When idle (not streaming), only show completed todos for clean summary
3737
// When streaming, show all todos so user can see active work
38-
const displayTodos = canInterrupt
39-
? todos
40-
: todos.filter((todo) => todo.status === "completed");
38+
const displayTodos = canInterrupt ? todos : todos.filter((todo) => todo.status === "completed");
4139

4240
if (displayTodos.length === 0) {
4341
return null;

0 commit comments

Comments
 (0)