|
1 | 1 | 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'; |
12 | 2 |
|
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; |
33 | 4 |
|
34 | 5 | export default AppRouter; |
0 commit comments