diff --git a/src/components/Search.jsx b/src/components/Search.jsx index bf1d040..e383870 100644 --- a/src/components/Search.jsx +++ b/src/components/Search.jsx @@ -6,18 +6,10 @@ import SearchBar from "./SearchBar"; import {Paginate} from "./Paginate"; -class SearchList extends React.Component { - constructor(props) { - super(props); - } - - render() { - return ( -
-
- ) - } -} +const SearchList = () => ( +
+
+); export class Search extends React.Component { constructor(props) {