diff --git a/src/components/AddCat/AddCat.js b/src/components/AddCat/AddCat.js index 807b9d1..6cb4bc3 100644 --- a/src/components/AddCat/AddCat.js +++ b/src/components/AddCat/AddCat.js @@ -25,7 +25,7 @@ export class AddCat extends Component { render() { return ( -
+ <> @@ -44,7 +44,7 @@ export class AddCat extends Component { onKeyPress={this.addCat} />
- + ); } } diff --git a/src/components/SearchCat/SearchCat.jsx b/src/components/SearchCat/SearchCat.jsx index 397a9b2..f55416d 100644 --- a/src/components/SearchCat/SearchCat.jsx +++ b/src/components/SearchCat/SearchCat.jsx @@ -18,7 +18,7 @@ class SearchCat extends Component { render() { return ( -
+ <> @@ -39,7 +39,7 @@ class SearchCat extends Component {
)} - + ); } } diff --git a/src/redux/reducers/cats.js b/src/redux/reducers/cats.js index aec5276..5f59979 100644 --- a/src/redux/reducers/cats.js +++ b/src/redux/reducers/cats.js @@ -1,12 +1,4 @@ const defaultState = [ - { - url: - "https://images.mentalfloss.com/sites/default/files/styles/mf_image_16x9/public/549585-istock-909106260.jpg" - }, - { - url: - "https://images.unsplash.com/photo-1518791841217-8f162f1e1131?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80" - }, { url: "https://cdn2.thecatapi.com/images/c0.jpg" }, { url: "https://cdn2.thecatapi.com/images/c3.jpg" }, { url: "https://cdn2.thecatapi.com/images/dq.jpg" },