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

Commit 0a45fcd

Browse files
niveditcfacebook-github-bot
authored andcommitted
Remove unused var in BlockTree (#1859)
Summary: **Summary** This variable is unused & caused a lint warning. **Test Plan** Old (with warning): ``` > npm run lint > [email protected] lint /Users/niveditc/draft-js > eslint . /Users/niveditc/draft-js/src/model/immutable/BlockTree.js 30:7 warning 'FINGERPRINT_DELIMITER' is assigned a value but never used. Allowed unused vars must match /^_/ no-unused-vars ✖ 1 problem (0 errors, 1 warning) ``` New: ``` > npm run lint > [email protected] lint /Users/niveditc/draft-js > eslint . ``` Pull Request resolved: #1859 Differential Revision: D9762873 fbshipit-source-id: 42dab26c26164d08cda8fb2875a8fa4d6d3d9f1a
1 parent b962974 commit 0a45fcd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/model/immutable/BlockTree.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ const {List, Repeat, Record} = Immutable;
2727

2828
const returnTrue = emptyFunction.thatReturnsTrue;
2929

30-
const FINGERPRINT_DELIMITER = '-';
31-
3230
const defaultLeafRange: {
3331
start: ?number,
3432
end: ?number,

0 commit comments

Comments
 (0)