Files
bigcapital/client/src/containers/ExchangeRates/withExchangeRateDetail.js
2020-09-07 07:29:33 +02:00

9 lines
258 B
JavaScript

import { connect } from 'react-redux';
import { getExchangeRateById } from 'store/ExchangeRate/exchange.selector';
const mapStateToProps = (state, props) => ({
exchangeRate: getExchangeRateById(state, props),
});
export default connect(mapStateToProps);