Skip to content

Commit

Permalink
fix unique key in router
Browse files Browse the repository at this point in the history
  • Loading branch information
Petter Andersson committed Feb 3, 2025
1 parent 8ad87ce commit 8a616c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/AppRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ const createRouter = (

{adminTabs.map(({ key, component }) => (
<Route
key={key}
path={`admin/${key}`}
element={<Layout>{component}</Layout>}
/>
Expand Down

0 comments on commit 8a616c2

Please sign in to comment.