Merge branch 'main' into glitch-soc/merge-upstream

This commit is contained in:
Claire committed 2023-06-27 13:15:41 +02:00
commit 80a5c16ae1
14 files changed
+287 -181

No files matched your search

+2 -2
View File
@@ -129,13 +129,13 @@ export function resetCompose() {
};
}
export const focusCompose = (routerHistory, defaultText) => dispatch => {
export const focusCompose = (routerHistory, defaultText) => (dispatch, getState) => {
dispatch({
type: COMPOSE_FOCUS,
defaultText,
});
ensureComposeIsVisible(routerHistory);
ensureComposeIsVisible(getState, routerHistory);
};
export function mentionCompose(account, routerHistory) {