Fix content warning being unnecessarily cleared when enabling/disabling CW (#13348)

lolsob-rspec
ThibG 2020-03-31 14:10:18 +02:00 committed by GitHub
parent ee400d1c6c
commit 41ca3cdb37
1 changed files with 0 additions and 1 deletions

View File

@ -261,7 +261,6 @@ export default function compose(state = initialState, action) {
});
case COMPOSE_SPOILERNESS_CHANGE:
return state.withMutations(map => {
map.set('spoiler_text', '');
map.set('spoiler', !state.get('spoiler'));
map.set('idempotencyKey', uuid());