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

Commit ab199ef

Browse files
zpaofacebook-github-bot
authored andcommitted
Fix all 'curly' violations
Summary: Fix `curly` ESLint violations and reformat as needed. Reviewed By: miorel Differential Revision: D12966889 fbshipit-source-id: 92f589c8664f160fd00d9314a77c0c0b1cf37b0d
1 parent 7dddded commit ab199ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/model/immutable/EditorState.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -657,8 +657,9 @@ function lookUpwardForInlineStyle(
657657
.skipUntil((block, _) => block.getLength())
658658
.first();
659659

660-
if (lastNonEmpty)
660+
if (lastNonEmpty) {
661661
return lastNonEmpty.getInlineStyleAt(lastNonEmpty.getLength() - 1);
662+
}
662663
return OrderedSet();
663664
}
664665

0 commit comments

Comments
 (0)