diff --git a/src/App.js b/src/App.js index 8dfa97f..abee0fb 100644 --- a/src/App.js +++ b/src/App.js @@ -36,4 +36,5 @@ function App (props) { ); } + export default App; diff --git a/src/components/ProductDetail.js b/src/components/ProductDetail.js index 885919a..e2ecb8a 100644 --- a/src/components/ProductDetail.js +++ b/src/components/ProductDetail.js @@ -1,4 +1,5 @@ import React from "react"; +import Reviews from "./reviews"; function ProductDetail(props) { const {name,description,rating,imgUrl} = props.product; @@ -14,7 +15,7 @@ function ProductDetail(props) {