Skip to content
This repository was archived by the owner on Dec 11, 2019. It is now read-only.

Commit 2197960

Browse files
committed
Fix lint error; this code was introduced with #9542 but isn't called (yet) in 0.17.x
Auditors: @cezaraugusto
1 parent 6ad9296 commit 2197960

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

js/state/frameStateUtil.js

-7
Original file line numberDiff line numberDiff line change
@@ -526,13 +526,6 @@ const isValidClosedFrame = (frame) => {
526526
return !frame.get('isPrivate')
527527
}
528528

529-
const getTabPageCount = (state) => {
530-
const frames = getNonPinnedFrames(state) || Immutable.List()
531-
const tabsPerPage = Number(getSetting(settings.TABS_PER_PAGE))
532-
533-
return Math.ceil(frames.size / tabsPerPage)
534-
}
535-
536529
const getPreviewFrameKey = (state) => {
537530
return state.get('previewFrameKey')
538531
}

0 commit comments

Comments
 (0)