{hasSyncReport && (
{syncReportToggle}
{syncReportComp}
)}
);
};
const mapStateToProps = (state: AppState) => {
return {
searches: state.searches,
syncReport: state.syncReport,
selectedSearchId: state.selectedSearchId,
selectedSmartFilterId: state.selectedSmartFilterId,
locale: state.settings.locale,
themeId: state.settings.theme,
collapsedFolderIds: state.collapsedFolderIds,
decryptionWorker: state.decryptionWorker,
resourceFetcher: state.resourceFetcher,
syncReportIsVisible: state.settings.syncReportIsVisible,
};
};
export default connect(mapStateToProps)(SidebarComponent);