Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix lint errors in MessageComposerInput #2423

Merged
merged 2 commits into from
Jan 10, 2019

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Jan 10, 2019

and remove from ignored files

Missed a load of the async arrows functions when changing them because
they were in the ignored files, so trying to chip away at this.

A lot of these were unused imports / variables. Probably the only
interesting one was a 'this' in a non-member function which I've moved
to be a member function.

and remove from ignored files

Missed a load of the async arrows functions when changing them because
they were in the ignored files, so trying to chip away at this.

A lot of these were unused imports / variables. Probably the only
interesting one was a 'this' in a non-member function which I've moved
to be a member function.
@dbkr dbkr requested a review from a team January 10, 2019 09:44
@jryans jryans self-assigned this Jan 10, 2019
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! 😁 Thanks for the cleanup.

@@ -868,7 +861,7 @@ export default class MessageComposerInput extends React.Component {
return true;
}

const newState: ?Value = null;
//const newState: ?Value = null;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe remove this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The block of code that uses it is commented below, so I figured it should be left as long as the commented out block is there :/

@jryans jryans assigned dbkr and unassigned jryans Jan 10, 2019
@dbkr dbkr merged commit fc346b2 into experimental Jan 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants