Skip to content

Commit 0593e0e

Browse files
authored
Fix routesMap name
1 parent cc1d433 commit 0593e0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/create-router-controls.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ Pass it to `createHistoryRouter`:
3838
import { createHistoryRouter } from 'atomic-router';
3939
import { controls } from '@/shared/routing';
4040

41-
const routes = [/* ... */];
41+
const routesMap = [/* ... */];
4242

4343
export const router = createHistoryRouter({
44-
routes,
44+
routes: routesMap,
4545
controls,
4646
});
4747
```

0 commit comments

Comments
 (0)