From 3d0762c8c2f720a2b9af3880b36b6b2e053dc0bd Mon Sep 17 00:00:00 2001 From: "Rayyan (Rayy)" Date: Tue, 21 Nov 2023 09:46:38 +0000 Subject: [PATCH] Add ReviewForm component to Movie Detail Page --- src/pages/Detail.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/Detail.js b/src/pages/Detail.js index 0bc02c2..8c26671 100644 --- a/src/pages/Detail.js +++ b/src/pages/Detail.js @@ -6,6 +6,7 @@ import { useState, useEffect } from 'react'; import { useParams } from 'react-router-dom'; import { ItemImage } from '../components/ItemImage'; import Button from 'react-bootstrap/Button'; +import { ReviewForm } from '../components/ReviewForm'; export function Detail(props) { const [movieData, setMovieData] = useState() @@ -48,7 +49,10 @@ export function Detail(props) { - + +

Reviews

+ +
)