dispatch supports async dispatching on its own
This commit is contained in:
parent
1a264006f7
commit
f157838864
1 changed files with 1 additions and 4 deletions
|
@ -1702,10 +1702,7 @@ export default React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
_dispatchTimelineResize() {
|
_dispatchTimelineResize() {
|
||||||
// prevent dispatch from within dispatch error
|
dis.dispatch({ action: 'timeline_resize' });
|
||||||
setTimeout(() => {
|
|
||||||
dis.dispatch({ action: 'timeline_resize' }, true);
|
|
||||||
}, 0);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
onRoomCreated: function(roomId) {
|
onRoomCreated: function(roomId) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue