Created
May 23, 2017 16:20
-
-
Save Louiefigz/e8c3f05e9985ede721076dd92010bdd8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import UserInput from "./components/UserInput"; | |
| // We change the below from { AllTasks } to Tasks because we are | |
| // exporting with default meaning there are no libraries that we are | |
| // pulling from. Just the class Tasks. | |
| import Tasks from './components/Tasks'; | |
| class App extends Component { | |
| render() { | |
| return ( | |
| <div> | |
| <UserInput store={this.props.store} /> | |
| {/*Change AllTasks to Tasks here*/} | |
| <Tasks /> | |
| </div> | |
| ); | |
| } | |
| } | |
| export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment