reducers: add missing nullification of quote_id on reset
ci/woodpecker/push/woodpecker Pipeline was successful Details

pull/38/head
Ariadne Conill 2022-12-26 05:54:44 +00:00
parent c6a4f42a37
commit 384ac613d8
1 changed files with 1 additions and 0 deletions

View File

@ -464,6 +464,7 @@ export default function compose(state = initialState, action) {
case COMPOSE_RESET:
return state.withMutations(map => {
map.set('in_reply_to', null);
map.set('quote_id', null);
if (defaultContentType) map.set('content_type', defaultContentType);
map.set('text', '');
map.set('spoiler', false);