From 68928a024e5f5cbd2f2f7e60f7ccd734b9676875 Mon Sep 17 00:00:00 2001 From: andres alcocer Date: Sat, 9 Oct 2021 16:14:48 -0400 Subject: [PATCH] fixed merge conflict --- src/containers/Home.js | 43 ------------------------------------------ src/index.js | 6 ------ 2 files changed, 49 deletions(-) delete mode 100644 src/containers/Home.js diff --git a/src/containers/Home.js b/src/containers/Home.js deleted file mode 100644 index a0fb409..0000000 --- a/src/containers/Home.js +++ /dev/null @@ -1,43 +0,0 @@ -import React, { Component } from 'react' - -import MainContent from './MainContent' -import Modal from '../components/UI/Modal' -import MovieDetails from '../components/Movie/MovieDetails' - -class Home extends Component { - state = { - /** Toggles the modal when a movie is clicked. */ - toggleModal: false, - /** Holds the movie information for a single movie. */ - movieOverview: {}, - } - - /* Get the appropriate details for a specific movie that was clicked */ - selectMovieHandler = async (movie) => { - this.setState({ toggleModal: true }) - await this.setState({ movieOverview: movie }) - } - - closeModal = () => { - this.setState({ toggleModal: false }) - } - - render() { - return ( - <> -
- -
- - - - - ) - } -} - -export default Home diff --git a/src/index.js b/src/index.js index 05f2f8d..5e6455f 100644 --- a/src/index.js +++ b/src/index.js @@ -5,7 +5,6 @@ import { createStore, applyMiddleware } from 'redux' import ReduxThunk from 'redux-thunk' import '@babel/polyfill' -<<<<<<< HEAD import reducers from './store/reducers' import AppRouter from './AppRouter' @@ -15,11 +14,6 @@ import 'swiper/css/navigation' import 'swiper/css/pagination' // Import main sass file to apply global styles import './static/sass/style.scss' -======= -import App from './containers/App'; -import 'swiper/swiper-bundle.min.css'; -import './static/sass/style.scss'; ->>>>>>> 4ee9fd3d7103a246e24a324f01ff488928ad864c const store = createStore(reducers, applyMiddleware(ReduxThunk))