Skip to content

Commit 8925e8d

Browse files
committed
fix(router): fix route order
1 parent 78d9725 commit 8925e8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ function App() {
2929
></PrivateRoute>
3030
{/*<PrivateRoute path="/benchmarks" component={Benchmarks}></PrivateRoute>*/}
3131
<Route path="/benchmarks/create" component={CreateBenchmark} />
32-
<Route path="/benchmarks" component={Benchmarks} />
3332
<Route path="/benchmarks/:id" component={BenchmarkDetail} />
33+
<Route path="/benchmarks" component={Benchmarks} />
3434
<Route>
3535
<Login setToken={setToken} />
3636
</Route>

0 commit comments

Comments
 (0)