💄 Optimization

This commit is contained in:
2025-08-01 18:03:54 +08:00
parent 28335dd548
commit 84b1d6a346
5 changed files with 23 additions and 12 deletions

View File

@@ -433,14 +433,6 @@ final routerProvider = Provider<GoRouter>((ref) {
path: '/account/relationships',
builder: (context, state) => const RelationshipScreen(),
),
GoRoute(
name: 'accountProfile',
path: '/account/:name',
builder: (context, state) {
final name = state.pathParameters['name']!;
return AccountProfileScreen(name: name);
},
),
GoRoute(
name: 'profileUpdate',
path: '/account/me/update',
@@ -463,6 +455,15 @@ final routerProvider = Provider<GoRouter>((ref) {
),
],
),
GoRoute(
name: 'accountProfile',
path: '/account/:name',
builder: (context, state) {
final name = state.pathParameters['name']!;
return AccountProfileScreen(name: name);
},
),
],
),
],