Clean up code
[arvados-workbench2.git] / src / routes / routes.ts
index 7ad7389976555a234fc4027fb11a990e5c94e27a..cacdd4b3ac79aa2818f174cfec20c5b4404d451b 100644 (file)
@@ -54,7 +54,7 @@ export interface CollectionRouteParams {
 }
 
 export const matchCollectionRoute = (route: string) =>
-    matchPath<ProjectRouteParams>(route, { path: Routes.COLLECTIONS });
+    matchPath<CollectionRouteParams>(route, { path: Routes.COLLECTIONS });
 
 
 const handleLocationChange = (store: RootStore) => ({ pathname }: Location) => {