File size: 624 Bytes
5d4f61b
aa120c6
 
 
6f7ef5c
 
5d4f61b
 
 
 
6f7ef5c
aa120c6
 
6f7ef5c
 
aa120c6
 
 
 
 
 
6f7ef5c
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import Home from "./components/Home.js";
import TierListManager from "./components/TierListManager";
import StartRankingContainer from "./components/StartRankingContainer";
import YourRanksContainer from "./components/YourRanksContainer";

const AppRoutes = [
    {
        index: true,
        element: <Home />
    },
    {
        path: '/your-ranks',
        element: <YourRanksContainer />
    },
    {
        path: '/start-ranking/:tierListId',
        element: <StartRankingContainer />
    },
    {
        path: '/your-ranks/:tierListId',
        element: <YourRanksContainer />
    }
];

export default AppRoutes;