mirror of
https://github.com/git-touch/git-touch
synced 2025-03-04 11:17:47 +01:00
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…
x
Reference in New Issue
Block a user