small change bcs typing is harbd^2

This commit is contained in:
Shea Duma committed 2026-03-21 23:23:27 +02:00
1 parent 8af53bb4cf
commit 70da41271f
1 file changed
+2 -2
@@ -1019,9 +1019,9 @@ export function useTimelineEventRenderer({
{(pinsAdded?.length > 0 &&
`pinned ${pinsAdded.length} message${pinsAdded.length > 1 ? 's' : ''}`) ||
''}
{(pinsAdded?.length > 0 && pinsRemoved?.length > 0 && `: and`) || ''}
{(pinsAdded?.length > 0 && pinsRemoved?.length > 0 && ` and`) || ''}
{(pinsRemoved?.length > 0 &&
`unpinned ${pinsRemoved.length} message${pinsRemoved.length > 1 ? 's' : ''}:`) ||
`unpinned ${pinsRemoved.length} message${pinsRemoved.length > 1 ? 's' : ''}`) ||
''}
{(!pinsAdded || pinsAdded.length <= 0) &&
(!pinsRemoved || pinsRemoved.length <= 0) &&