Add ReviewForm component to Movie Detail Page

This commit is contained in:
Ray 2023-11-21 09:46:38 +00:00 committed by GitHub
parent 642aad60af
commit 3d0762c8c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -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) {
</Col>
</Row>
<Row>
<Col></Col>
<Col>
<h2>Reviews</h2>
<ReviewForm />
</Col>
</Row>
</Container>
)