Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
Restores flow error suppression for fbjs@1.0.0 (#2014)
Browse files Browse the repository at this point in the history
Summary:
**Summary**

Restores a flow error suppression annotation removed with D14074027

**Test Plan**

`yarn run flow`
No errors
Pull Request resolved: #2014

Reviewed By: dsainati1

Differential Revision: D14229161

Pulled By: dsainati1

fbshipit-source-id: b169d832d0b50e3366a94d53ae7e60ca89035ae7
  • Loading branch information
Claudio Procida authored and facebook-github-bot committed Feb 26, 2019
1 parent 5081c87 commit 6a26a82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/component/contents/DraftEditorContents-core.react.js
Expand Up @@ -197,6 +197,7 @@ class DraftEditorContents extends React.Component<Props> {
lastWrapperTemplate !== wrapperTemplate ||
currentDepth === null ||
depth > currentDepth;
// $FlowExpectedError joinClasses args in fbjs@1.0.0 are incorrect
className = joinClasses(
className,
getListItemClasses(blockType, depth, shouldResetCount, direction),
Expand Down

0 comments on commit 6a26a82

Please sign in to comment.