fix(gh): pull request router
This commit is contained in:
parent
8d1e3fa596
commit
a30385a414
|
@ -246,11 +246,16 @@ final router = GoRouter(
|
|||
],
|
||||
),
|
||||
GoRoute(
|
||||
path: 'pull',
|
||||
path: 'pulls',
|
||||
builder: (context, state) => GhPullsScreen(
|
||||
state.params['owner']!,
|
||||
state.params['name']!,
|
||||
),
|
||||
),
|
||||
GoRoute(
|
||||
path: 'pull',
|
||||
redirect: (state) =>
|
||||
'/github/${state.params['owner']!}/${state.params['name']!}/pulls',
|
||||
routes: [
|
||||
GoRoute(
|
||||
path: ':number',
|
||||
|
|
Loading…
Reference in New Issue