0
0
Fork 0

Rewrite actions/app.ts and reducers/missed_updates.ts with createAction (#24801)

This commit is contained in:
fusagiko / takayamaki 2023-05-03 22:28:39 +09:00 committed by GitHub
parent c98b012583
commit 0999cb4601
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 45 additions and 42 deletions

View file

@ -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();
}