mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-11-28 08:24:56 +00:00
removed region from create
This commit is contained in:
@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
|
||||
import 'package:syncrow_web/utils/color_manager.dart';
|
||||
|
||||
class CreateCommunityDialog extends StatefulWidget {
|
||||
final Function(String name, String description, String regionId)
|
||||
final Function(String name, String description)
|
||||
onCreateCommunity;
|
||||
|
||||
const CreateCommunityDialog({super.key, required this.onCreateCommunity});
|
||||
@ -114,7 +114,6 @@ class CreateCommunityDialogState extends State<CreateCommunityDialog> {
|
||||
widget.onCreateCommunity(
|
||||
enteredName,
|
||||
"",
|
||||
"42dc377a-1a39-4df9-b85a-b3817af88525",
|
||||
);
|
||||
Navigator.of(context).pop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user