playful
This commit is contained in:
@@ -674,7 +674,6 @@ const Sidebar = ({
|
||||
{sortedCorrespondents.map((correspondent) => {
|
||||
const isActive = activeCorrespondentSet.has(correspondent.id);
|
||||
const className = `sidebar-correspondent-item${isActive ? ' active' : ''}`;
|
||||
const label = correspondent.name || 'Unnamed';
|
||||
const handleSelect = () => {
|
||||
const nextId = isActive ? null : correspondent.id;
|
||||
onToggleCorrespondentFilter?.(nextId);
|
||||
@@ -692,7 +691,7 @@ const Sidebar = ({
|
||||
}
|
||||
}}
|
||||
>
|
||||
{label}
|
||||
{correspondent.name}
|
||||
</span>
|
||||
</li>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user