File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import 'package:ht_dashboard/authentication/view/authentication_page.dart';
11
11
import 'package:ht_dashboard/authentication/view/email_code_verification_page.dart' ;
12
12
import 'package:ht_dashboard/authentication/view/request_code_page.dart' ;
13
13
import 'package:ht_dashboard/content_management/view/categories_page.dart' ;
14
+ import 'package:ht_dashboard/content_management/view/edit_category_page.dart' ;
14
15
import 'package:ht_dashboard/content_management/view/content_management_page.dart' ;
15
16
import 'package:ht_dashboard/content_management/view/headlines_page.dart' ;
16
17
import 'package:ht_dashboard/content_management/view/sources_page.dart' ;
@@ -191,9 +192,7 @@ GoRouter createRouter({
191
192
name: Routes .editCategoryName,
192
193
builder: (context, state) {
193
194
final id = state.pathParameters['id' ]! ;
194
- return PlaceholderCreatePage (
195
- title: 'Edit Category $id ' ,
196
- ); // Placeholder
195
+ return EditCategoryPage (categoryId: id);
197
196
},
198
197
),
199
198
GoRoute (
You can’t perform that action at this time.
0 commit comments