diff --git a/.changeset/afraid-cups-greet.md b/.changeset/afraid-cups-greet.md new file mode 100644 index 000000000..4ecfdcb47 --- /dev/null +++ b/.changeset/afraid-cups-greet.md @@ -0,0 +1,5 @@ +--- +"nostrudel": minor +--- + +Fix people list selection diff --git a/src/components/people-list-selection/people-list-selection.tsx b/src/components/people-list-selection/people-list-selection.tsx index 352ce8ebe..07ecfd139 100644 --- a/src/components/people-list-selection/people-list-selection.tsx +++ b/src/components/people-list-selection/people-list-selection.tsx @@ -42,23 +42,14 @@ export default function PeopleListSelection({ {account && Following} {!hideGlobalOption && Global} - {lists.length > 0 && ( - <> - - {lists - .filter((l) => l.kind === PEOPLE_LIST_KIND) - .map((list) => ( - - {getListName(list)} - - ))} - - )} + {lists.length > 0 && } + {lists + .filter((l) => l.kind === PEOPLE_LIST_KIND) + .map((list) => ( + + {getListName(list)} + + ))} {favoriteLists.length > 0 && ( <>