removed region from create

This commit is contained in:
hannathkadher
2024-11-22 00:29:35 +04:00
parent 82343e0634
commit 1a967e2ba0
5 changed files with 5 additions and 11 deletions

View File

@ -59,12 +59,11 @@ class _SidebarWidgetState extends State<SidebarWidget> {
showDialog(
context: parentContext,
builder: (context) => CreateCommunityDialog(
onCreateCommunity: (String communityName, String description, String regionId) {
onCreateCommunity: (String communityName, String description) {
parentContext.read<SpaceManagementBloc>().add(
CreateCommunityEvent(
name: communityName,
description: description,
regionId: regionId,
),
);
},