mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-08-24 20:32:28 +00:00
Remove unnecessary event dispatch in CommunityStructureHeaderActionButtonsComposer
to streamline community update logic. This change enhances code clarity by eliminating the selection event for the community, focusing solely on the update action.
This commit is contained in:
@ -58,9 +58,6 @@ class CommunityStructureHeaderActionButtonsComposer extends StatelessWidget {
|
||||
context.read<CommunitiesBloc>().add(
|
||||
CommunitiesUpdateCommunity(updatedCommunity),
|
||||
);
|
||||
context.read<CommunitiesTreeSelectionBloc>().add(
|
||||
SelectCommunityEvent(community: updatedCommunity),
|
||||
);
|
||||
},
|
||||
),
|
||||
),
|
||||
|
Reference in New Issue
Block a user