[client] Do not use pageBuilder in router

This commit is contained in:
Abhishek Shroff
2024-11-20 20:42:43 +05:30
parent 3038983219
commit 537d392452

View File

@@ -56,11 +56,7 @@ class _PhylumAppState extends State<PhylumApp> {
GoRoute(
name: 'folder',
path: '/folders/:id',
pageBuilder: (context, state) => NoTransitionPage(
name: state.name,
child: AppLayout.create(state.pathParameters['id']!),
arguments: state.pathParameters['id'],
),
builder: (context, state) => AppLayout.create(state.pathParameters['id']!),
),
],
observers: [