Skip to content

Commit ec6fc10

Browse files
committed
router cleanup
1 parent 0e0be3d commit ec6fc10

1 file changed

Lines changed: 1 addition & 30 deletions

File tree

src/app/router/Router.tsx

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,5 @@
11
import React from 'react';
2-
import { Routes, Route } from 'react-router-dom';
3-
import ForgotPassword from '../screens/ForgotPassword';
4-
import FeedSubmission from '../screens/FeedSubmission';
5-
import FeedSubmitted from '../screens/FeedSubmitted';
6-
import GTFSFeedAnalytics from '../screens/Analytics/GTFSFeedAnalytics';
7-
import GTFSNoticeAnalytics from '../screens/Analytics/GTFSNoticeAnalytics';
8-
import GTFSFeatureAnalytics from '../screens/Analytics/GTFSFeatureAnalytics';
9-
import GBFSFeedAnalytics from '../screens/Analytics/GBFSFeedAnalytics';
10-
import GBFSNoticeAnalytics from '../screens/Analytics/GBFSNoticeAnalytics';
11-
import GBFSVersionAnalytics from '../screens/Analytics/GBFSVersionAnalytics';
122

13-
export const AppRouter: React.FC = () => {
14-
return (
15-
<Routes>
16-
<Route path='forgot-password' element={<ForgotPassword />} />
17-
<Route path='contribute' element={<FeedSubmission />} />
18-
<Route path='contribute/submitted' element={<FeedSubmitted />} />
19-
<Route path='metrics/gtfs'>
20-
<Route index element={<GTFSFeedAnalytics />} />
21-
<Route path='feeds/*' element={<GTFSFeedAnalytics />} />
22-
<Route path='notices/*' element={<GTFSNoticeAnalytics />} />
23-
<Route path='features/*' element={<GTFSFeatureAnalytics />} />
24-
</Route>
25-
<Route path='metrics/gbfs'>
26-
<Route path='feeds/*' element={<GBFSFeedAnalytics />} />
27-
<Route path='notices/*' element={<GBFSNoticeAnalytics />} />
28-
<Route path='versions/*' element={<GBFSVersionAnalytics />} />
29-
</Route>
30-
</Routes>
31-
);
32-
};
3+
export const AppRouter: React.FC = () => null;
334

345
export default AppRouter;

0 commit comments

Comments
 (0)