Skip to content

Commit

Permalink
Added toggleMsgLoader dispatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorian30 committed Jan 21, 2019
1 parent a173dd0 commit 552a783
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/store/dispatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ export function addLinkSnippet(link) {
store.dispatch(actions.addLinkSnippet(link));
}

export function toggleMsgLoader() {
store.dispatch(actions.toggleMsgLoader());
}

export function renderCustomComponent(component, props, showAvatar = false) {
store.dispatch(actions.renderCustomComponent(component, props, showAvatar));
}
Expand Down

0 comments on commit 552a783

Please sign in to comment.