Closed
Description
Currently:
Around line 368 inside changeFormats()
this.setState( {
formats: merge( {}, this.state.formats, formats ),
} );
Should be:
this.setState( ( previousState ) => ( {
formats: merge( {}, previousState.formats, formats ),
} ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment