remove trailing spaces to make linter happy (no-trailing-spaces)

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2018-07-10 10:29:52 +01:00
parent 58301e5dd4
commit 100ecfe7ce
No known key found for this signature in database
GPG Key ID: 3F879DA5AD802A5E

View File

@ -183,7 +183,7 @@ export default class MessageComposerInput extends React.Component {
this.md = new Md({
rules: [
{
// if serialize returns undefined it falls through to the default hardcoded
// if serialize returns undefined it falls through to the default hardcoded
// serialization rules
serialize: (obj, children) => {
if (obj.object !== 'inline') return;
@ -304,7 +304,7 @@ export default class MessageComposerInput extends React.Component {
* - contentState was passed in
*/
createEditorState(richText: boolean, // eslint-disable-line no-unused-vars
editorState: ?Value): Value {
editorState: ?Value): Value {
if (editorState instanceof Value) {
return editorState;
}
@ -359,7 +359,7 @@ export default class MessageComposerInput extends React.Component {
// If so, what should be the format, and how do we differentiate it from replies?
const quote = Block.create('block-quote');
if (this.state.isRichTextEnabled) {
if (this.state.isRichTextEnabled) {
let change = editorState.change();
if (editorState.anchorText.text === '' && editorState.anchorBlock.nodes.size === 1) {
// replace the current block rather than split the block