mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-20 21:55:03 -04:00
18 lines
513 B
JavaScript
18 lines
513 B
JavaScript
import { connect } from 'react-redux';
|
|
import { createSelector } from 'reselect';
|
|
import createSystemStatusSelector from 'Store/Selectors/createSystemStatusSelector';
|
|
import KeyboardShortcutsModalContent from './KeyboardShortcutsModalContent';
|
|
|
|
function createMapStateToProps() {
|
|
return createSelector(
|
|
createSystemStatusSelector(),
|
|
(systemStatus) => {
|
|
return {
|
|
isOsx: systemStatus.isOsx
|
|
};
|
|
}
|
|
);
|
|
}
|
|
|
|
export default connect(createMapStateToProps)(KeyboardShortcutsModalContent);
|