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 @@ -20,6 +20,7 @@ import 'package:ht_dashboard/dashboard/view/dashboard_page.dart';
20
20
import 'package:ht_dashboard/router/routes.dart' ;
21
21
import 'package:ht_dashboard/settings/view/settings_page.dart' ;
22
22
import 'package:ht_dashboard/shared/widgets/placeholder_create_page.dart' ;
23
+ import 'package:ht_dashboard/content_management/view/edit_headline_page.dart' ;
23
24
24
25
/// Creates and configures the GoRouter instance for the application.
25
26
///
@@ -176,9 +177,7 @@ GoRouter createRouter({
176
177
name: Routes .editHeadlineName,
177
178
builder: (context, state) {
178
179
final id = state.pathParameters['id' ]! ;
179
- return PlaceholderCreatePage (
180
- title: 'Edit Headline $id ' ,
181
- ); // Placeholder
180
+ return EditHeadlinePage (headlineId: id);
182
181
},
183
182
),
184
183
GoRoute (
You can’t perform that action at this time.
0 commit comments