Skip to content

Commit 68467dc

Browse files
added props parameter to theIndexRote
1 parent 5cb7a37 commit 68467dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import AddBook from "../components/BooksPage/AddBook";
99
import HomePage from "../components/HomePage";
1010
import UserBookList from "../components/UserBookList";
1111

12-
const IndexRoutes = () => {
12+
const IndexRoutes = (props) => {
1313
return (
1414
<Switch>
1515
<Route path="/home" component={HomePage} />

0 commit comments

Comments
 (0)