Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
thecalcc committed Aug 15, 2023
1 parent 486a13c commit 8d26169
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions assets/wire/components/WireApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -338,41 +338,41 @@ WireApp.propTypes = {
};

const mapStateToProps = (state: any) => ({
state: state,
isLoading: state.isLoading,
newsOnlyFilterText: state.newsOnlyFilterText,
totalItems: state.totalItems,
activeQuery: searchQuerySelector(state),
activeSortQuery: searchSortQuerySelector(state),
itemToPreview: state.previewItem ? state.itemsById[state.previewItem] : null,
itemToOpen: state.openItem ? state.itemsById[state.openItem._id] : null,
itemsById: state.itemsById,
modal: state.modal,
user: state.user,
company: state.company,
topics: state.topics || [],
activeView: activeViewSelector(state),
newItems: state.newItems,
navigations: navigationsSelector(state),
activeNavigation: searchNavigationSelector(state),
newsOnly: !!get(state, 'wire.newsOnly'),
searchAllVersions: !!get(state, 'wire.searchAllVersions'),
bookmarks: state.bookmarks,
savedItemsCount: state.savedItemsCount,
userSections: state.userSections,
activeTopic: activeTopicSelector(state),
activeProduct: activeProductSelector(state),
activeFilter: searchFilterSelector(state),
context: state.context,
previewConfig: previewConfigSelector(state),
detailsConfig: detailsConfigSelector(state),
listConfig: listConfigSelector(state),
advancedSearchTabConfig: advancedSearchTabsConfigSelector(state),
groups: get(state, 'groups', []),
searchParams: searchParamsSelector(state),
showSaveTopic: showSaveTopicSelector(state),
filterGroupLabels: filterGroupsToLabelMap(state),
errorMessage: state.errorMessage
state: state,
isLoading: state.isLoading,
newsOnlyFilterText: state.newsOnlyFilterText,
totalItems: state.totalItems,
activeQuery: searchQuerySelector(state),
activeSortQuery: searchSortQuerySelector(state),
itemToPreview: state.previewItem ? state.itemsById[state.previewItem] : null,
itemToOpen: state.openItem ? state.itemsById[state.openItem._id] : null,
itemsById: state.itemsById,
modal: state.modal,
user: state.user,
company: state.company,
topics: state.topics || [],
activeView: activeViewSelector(state),
newItems: state.newItems,
navigations: navigationsSelector(state),
activeNavigation: searchNavigationSelector(state),
newsOnly: !!get(state, 'wire.newsOnly'),
searchAllVersions: !!get(state, 'wire.searchAllVersions'),
bookmarks: state.bookmarks,
savedItemsCount: state.savedItemsCount,
userSections: state.userSections,
activeTopic: activeTopicSelector(state),
activeProduct: activeProductSelector(state),
activeFilter: searchFilterSelector(state),
context: state.context,
previewConfig: previewConfigSelector(state),
detailsConfig: detailsConfigSelector(state),
listConfig: listConfigSelector(state),
advancedSearchTabConfig: advancedSearchTabsConfigSelector(state),
groups: get(state, 'groups', []),
searchParams: searchParamsSelector(state),
showSaveTopic: showSaveTopicSelector(state),
filterGroupLabels: filterGroupsToLabelMap(state),
errorMessage: state.errorMessage
});

const mapDispatchToProps = (dispatch: any) => ({
Expand Down

0 comments on commit 8d26169

Please sign in to comment.