This commit is contained in:
@@ -29,9 +29,8 @@ const CommunitySelector = () => {
|
||||
const allCommunities = communities()
|
||||
console.log('[CommunitySelector] Состояние:', {
|
||||
selectedId: current,
|
||||
selectedName: current !== null
|
||||
? allCommunities.find((c) => c.id === current)?.name
|
||||
: 'Все сообщества',
|
||||
selectedName:
|
||||
current !== null ? allCommunities.find((c) => c.id === current)?.name : 'Все сообщества',
|
||||
totalCommunities: allCommunities.length
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user