diff --git a/package.json b/package.json index f10011c..4759ff9 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,9 @@ "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "deploy": "gh-pages -d build", + "predeploy": "npm run build" }, "eslintConfig": { "extends": [ diff --git a/public/index.html b/public/index.html index a0b8d37..d1c5c12 100644 --- a/public/index.html +++ b/public/index.html @@ -11,7 +11,7 @@ /> -
{genres.join(", ")}
diff --git a/src/router/Detail.js b/src/router/Detail.js index 6087e2b..84687b8 100644 --- a/src/router/Detail.js +++ b/src/router/Detail.js @@ -4,6 +4,7 @@ import styles from "../css/Detail.module.css"; function Detail() { const { id } = useParams(); + console.log(id); const [movieData, setMovie] = useState({}); useEffect(() => {