Commit cf1fa733 authored by ThibG's avatar ThibG Committed by GitHub

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

parent 31bd6252
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment