You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
513 B
18 lines
513 B
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);
|