diff --git a/client/src/components/App.js b/client/src/components/App.js index f8a0eb3..836f1cd 100644 --- a/client/src/components/App.js +++ b/client/src/components/App.js @@ -2,8 +2,6 @@ import React, { Component } from 'react'; import axios from 'axios'; import '../styles/App.css'; import Modal from 'react-modal'; -import Sound from 'react-sound'; - const customStyles = { content : { @@ -123,13 +121,6 @@ class App extends Component { return (
- + this.setState({position: obj.position})} + loop={true} + /> + +
+ ); + } +} + +export default MusicContainer; diff --git a/client/src/components/Router.js b/client/src/components/Router.js index 40523f9..3921bd9 100644 --- a/client/src/components/Router.js +++ b/client/src/components/Router.js @@ -1,13 +1,13 @@ import React from 'react' import { Switch, Route } from 'react-router-dom' import Home from './Home' -import App from './App' +import MusicContainer from './MusicContainer' const Router = () => (
- +
);