Skip to content

Commit

Permalink
remove unnecessary component prop
Browse files Browse the repository at this point in the history
  • Loading branch information
tbolt committed Jan 22, 2025
1 parent ac0d6db commit 5f51f1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions react-app/src/router.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe("Router tests", () => {
<MemoryRouter initialEntries={["/dashboard"]}>
<Routes>
{router.routes[0].children.map((route) => (
<Route key={route.path} path={route.path} element={route.element} />
<Route key={route.path} path={route.path} />
))}
</Routes>
</MemoryRouter>,
Expand All @@ -39,7 +39,7 @@ describe("Router tests", () => {
<MemoryRouter initialEntries={["/"]}>
<Routes>
{router.routes[0].children.map((route) => (
<Route key={route.path} path={route.path} element={route.element} />
<Route key={route.path} path={route.path} />
))}
</Routes>
</MemoryRouter>,
Expand Down

0 comments on commit 5f51f1b

Please sign in to comment.