Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
#371 :scissors
  • Loading branch information
thabti committed Jul 10, 2016
commit 81d09b27c7d3f2b90746b80d9f2a3fd453a8409b
2 changes: 0 additions & 2 deletions src/components/Ayah/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,11 @@ export default class Ayah extends Component {
}

handlePlay(ayah) {

const {stop, setAyah, start} = this.props.actions;

stop();
setAyah(ayah);
start();

}

renderTranslations() {
Expand Down
2 changes: 1 addition & 1 deletion src/containers/App/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ class App extends Component {
}
}

export default connect(state => ({surahs: state.surahs.entities }))(App)
export default metrics(metricsConfig)(connect(state => ({surahs: state.surahs.entities }))(App));
1 change: 0 additions & 1 deletion src/containers/Home/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,5 @@ const AsyncHome = asyncConnect([{
}
}])(Home);


export default connect(state => ({surahs: state.surahs.entities}))(AsyncHome);