Skip to content

Commit cd704e3

Browse files
committed
Let data be controlled by sourcing the module directly
1 parent 5ecd4ac commit cd704e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/app/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ import React from 'react'
55
import style from './index.scss'
66
import Book from '../book'
77
import SearchForm from '../search-form'
8-
import articles from '../articles'
8+
import EventBus from '../event-bus'
99

1010
export default class App extends React.Component {
1111
render() {
1212
return <div className={style.App}>
1313
<SearchForm />
14-
<Book articles={articles} />
14+
<Book />
1515
</div>
1616
}
1717
}

0 commit comments

Comments
 (0)