remove unused state functions

This commit is contained in:
hannathkadher
2024-11-28 19:55:45 +04:00
parent 0b2d44fc2b
commit 0f500a4efa
2 changed files with 3 additions and 31 deletions

View File

@ -53,16 +53,6 @@ class SpaceManagementPageState extends State<SpaceManagementPage> {
selectedCommunity: state.selectedCommunity,
selectedSpace: state.selectedSpace,
products: state.products,
onCommunitySelected: (community) {
setState(() {
selectedCommunity = community;
});
},
onSpaceSelected: (space) {
setState(() {
selectedSpace = space;
});
},
);
} else if (state is SpaceManagementError) {
return Center(child: Text('Error: ${state.errorMessage}'));