Add ReviewForm component to Movie Detail Page
This commit is contained in:
parent
642aad60af
commit
3d0762c8c2
|
@ -6,6 +6,7 @@ import { useState, useEffect } from 'react';
|
||||||
import { useParams } from 'react-router-dom';
|
import { useParams } from 'react-router-dom';
|
||||||
import { ItemImage } from '../components/ItemImage';
|
import { ItemImage } from '../components/ItemImage';
|
||||||
import Button from 'react-bootstrap/Button';
|
import Button from 'react-bootstrap/Button';
|
||||||
|
import { ReviewForm } from '../components/ReviewForm';
|
||||||
|
|
||||||
export function Detail(props) {
|
export function Detail(props) {
|
||||||
const [movieData, setMovieData] = useState()
|
const [movieData, setMovieData] = useState()
|
||||||
|
@ -48,7 +49,10 @@ export function Detail(props) {
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
<Row>
|
<Row>
|
||||||
<Col></Col>
|
<Col>
|
||||||
|
<h2>Reviews</h2>
|
||||||
|
<ReviewForm />
|
||||||
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
</Container>
|
</Container>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue