Skip to content

Commit

Permalink
Fix routesMap name
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeysova authored Jan 26, 2024
1 parent cc1d433 commit 0593e0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/create-router-controls.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ Pass it to `createHistoryRouter`:
import { createHistoryRouter } from 'atomic-router';
import { controls } from '@/shared/routing';

const routes = [/* ... */];
const routesMap = [/* ... */];

export const router = createHistoryRouter({
routes,
routes: routesMap,
controls,
});
```
Expand Down

0 comments on commit 0593e0e

Please sign in to comment.