Skip to content

Commit

Permalink
fix: Fixed a bug in Navigation.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathrunet committed Feb 4, 2024
1 parent b6544dc commit 3187db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/katana_cli/lib/command/code/tmp/navigation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class ${className}Page extends PageScopedWidget {
currentIndex: nestedRouter.currentQuery?.key<${className}PageNavigation>()?.index ??
${className}PageNavigation.initialNavigation.index,
onTap: (index) {
final routeQuery = TestPageNavigation.values[index].routeQuery;
final routeQuery = ${className}PageNavigation.values[index].routeQuery;
if (routeQuery == null) {
return;
}
Expand Down

0 comments on commit 3187db7

Please sign in to comment.