Rewrite actions/app.ts and reducers/missed_updates.ts with createAction (#24801)
This commit is contained in:
1 parent
c98b012583
commit
0999cb4601
6 files changed
+45
-42
No files matched your search
@@ -362,7 +362,7 @@ class UI extends React.PureComponent {
|
||||
|
||||
if (layout !== this.props.layout) {
|
||||
this.handleLayoutChange.cancel();
|
||||
this.props.dispatch(changeLayout(layout));
|
||||
this.props.dispatch(changeLayout({ layout }));
|
||||
} else {
|
||||
this.handleLayoutChange();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user