mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 12:11:40 +01:00
Fix content warning being unnecessarily cleared when enabling/disabling CW (#13348)
This commit is contained in:
parent
31bd625205
commit
cf1fa73347
1 changed files with 0 additions and 1 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in a new issue