Skip to content

Commit

Permalink
Fix: food preferences redirecting to a 404 page (#4348)
Browse files Browse the repository at this point in the history
  • Loading branch information
g123k authored Jul 21, 2023
1 parent c0d0834 commit 580b822
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/smooth_app/lib/pages/navigator/app_navigator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ class _SmoothGoRouter {
},
),
GoRoute(
path: '${_InternalAppRoutes.PREFERENCES_PAGE}/:preferenceType',
path:
'${_InternalAppRoutes.PREFERENCES_PAGE.path}/:preferenceType',
builder: (BuildContext context, GoRouterState state) {
final String? type = state.pathParameters['preferenceType'];

Expand Down

0 comments on commit 580b822

Please sign in to comment.