Skip to content

Commit

Permalink
add missing component keys
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourgreens committed May 31, 2024
1 parent 1f23f09 commit b30e4d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/MonorepoRoutes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ function MonorepoRoutes() {
MonorepoRoutes.createRouteFromReactElement = (element, parentRoute) => {
const monorepoRoutes = createRoutesFromReactChildren(
<Route path='projects'>
{SLUGS.map(slug => <MonorepoRoute path={slug} />)}
{SLUGS.map(slug => <MonorepoRoute key={slug} path={slug} />)}
<Route path=':locale'>
{SLUGS.map(slug => <MonorepoRoute path={slug} />)}
{SLUGS.map(slug => <MonorepoRoute key={slug} path={slug} />)}
</Route>
</Route>,
parentRoute
Expand Down

0 comments on commit b30e4d8

Please sign in to comment.