fix: pull page redirect
This commit is contained in:
parent
61d5a3e846
commit
7b51747576
|
@ -253,12 +253,7 @@ final router = GoRouter(
|
|||
),
|
||||
),
|
||||
GoRoute(
|
||||
path: 'pull',
|
||||
redirect: (_, state) =>
|
||||
'/github/${state.params['owner']!}/${state.params['name']!}/pulls',
|
||||
routes: [
|
||||
GoRoute(
|
||||
path: ':number',
|
||||
path: 'pull/:number',
|
||||
builder: (context, state) => GhIssueScreen(
|
||||
state.params['owner']!,
|
||||
state.params['name']!,
|
||||
|
@ -278,8 +273,6 @@ final router = GoRouter(
|
|||
],
|
||||
),
|
||||
],
|
||||
)
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue