Skip to content

Commit 4107ab2

Browse files
committed
Merge branch 'szdc-master' into release/0.2.14
2 parents 63c5bfd + c9f2662 commit 4107ab2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/NotificationSystem.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ var NotificationSystem = createReactClass({
7373
return true;
7474
});
7575

76-
if (notification && notification.onRemove) {
77-
notification.onRemove(notification);
78-
}
79-
8076
if (this._isMounted) {
8177
this.setState({ notifications: notifications });
8278
}
79+
80+
if (notification && notification.onRemove) {
81+
notification.onRemove(notification);
82+
}
8383
},
8484

8585
getInitialState: function() {

0 commit comments

Comments
 (0)