added update in space tree bloc

This commit is contained in:
hannathkadher
2025-03-02 14:40:34 +04:00
parent 7607e5f80d
commit 692b05a600
10 changed files with 172 additions and 124 deletions

View File

@ -28,14 +28,14 @@ class SpaceManagementPageState extends State<SpaceManagementPage> {
return MultiBlocProvider(
providers: [
BlocProvider(
create: (_) => SpaceManagementBloc(
create: (context) => SpaceManagementBloc(
_api,
_productApi,
_spaceModelApi,
)..add(LoadCommunityAndSpacesEvent()),
)..add(LoadCommunityAndSpacesEvent(this.context)),
),
BlocProvider(
create: (_) => CenterBodyBloc(),
create: (context) => CenterBodyBloc(),
),
],
child: WebScaffold(