Fix content-type being reset when editing toots (#1993)

Fixes #1990
This commit is contained in:
Claire
2022-12-04 17:58:10 +01:00
committed by GitHub
parent e7ff8111b1
commit f4879c4481
3 changed files with 4 additions and 2 deletions

View File

@@ -93,12 +93,13 @@ export const ensureComposeIsVisible = (getState, routerHistory) => {
}
};
export function setComposeToStatus(status, text, spoiler_text) {
export function setComposeToStatus(status, text, spoiler_text, content_type) {
return{
type: COMPOSE_SET_STATUS,
status,
text,
spoiler_text,
content_type,
};
};