Skip to content

Commit c7b2279

Browse files
authored
Merge pull request #8164 from herndlm/patch-1
Add missing Route import to Routing docs example
2 parents 2aa694d + 6b4a04b commit c7b2279

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/Routing.md

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ In addition to CRUD pages for resources, you can create as many routes as you wa
6363
```jsx
6464
// in src/App.js
6565
import * as React from "react";
66+
import { Route } from 'react-router-dom';
6667
import { Admin, Resource, CustomRoutes } from 'react-admin';
6768
import posts from './posts';
6869
import comments from './comments';

0 commit comments

Comments
 (0)