Created
April 23, 2018 00:17
-
-
Save a-one-d-one/ba88585e8b86fa93c9dfd8da3005370b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mergeProps (state, ownProps) { | |
const currentWindow = state.get('currentWindow') | |
const tabId = ownProps.tabId | |
const frameKey = frameStateUtil.getFrameKeyByTabId(currentWindow, tabId) | |
const props = {} | |
props.isPinned = tabState.isTabPinned(state, tabId) | |
props.showTabTitle = titleState.showTabTitle(currentWindow, frameKey) | |
.... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment