diff --git a/web-app/src/containers/ThreadList.tsx b/web-app/src/containers/ThreadList.tsx index 69bcc4d82..dc8634e0f 100644 --- a/web-app/src/containers/ThreadList.tsx +++ b/web-app/src/containers/ThreadList.tsx @@ -205,7 +205,7 @@ const SortableItem = memo( }} /> - + {thread.isFavorite ? ( { @@ -239,7 +239,7 @@ const SortableItem = memo( {t('common:projects.addToProject')} - + {availableProjects.length === 0 ? ( @@ -308,7 +308,11 @@ type ThreadListProps = { currentProjectId?: string } -function ThreadList({ threads, variant = 'default', currentProjectId }: ThreadListProps) { +function ThreadList({ + threads, + variant = 'default', + currentProjectId, +}: ThreadListProps) { const sortedThreads = useMemo(() => { return threads.sort((a, b) => { return (b.updated || 0) - (a.updated || 0) @@ -332,7 +336,12 @@ function ThreadList({ threads, variant = 'default', currentProjectId }: ThreadLi strategy={verticalListSortingStrategy} > {sortedThreads.map((thread, index) => ( - + ))}