implemented debounce function successfuly
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import React, { Component } from 'react';
|
||||
|
||||
export default class Search extends Component {
|
||||
state = {
|
||||
movieList: []
|
||||
}
|
||||
|
||||
render() {
|
||||
return <div className="search-container">{this.state.movieList}</div>;
|
||||
return (
|
||||
<div className="search-container">
|
||||
{this.props.history.location.movieRows}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user