[Glitch] Rewrite actions/app.ts and reducers/missed_updates.ts with createAction

Port 0999cb4601 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
fusagiko / takayamaki
2023-05-03 22:28:39 +09:00
committed by Claire
parent a33d6c946a
commit 3d9e35375c
4 changed files with 11 additions and 10 deletions

View File

@@ -378,7 +378,7 @@ class UI extends React.Component {
if (layout !== this.props.layout) {
this.handleLayoutChange.cancel();
this.props.dispatch(changeLayout(layout));
this.props.dispatch(changeLayout({ layout }));
} else {
this.handleLayoutChange();
}