Files
bigcapital/packages/webapp/src/containers/ExchangeRates/withExchangeRateDetail.tsx
2023-02-03 01:02:31 +02:00

10 lines
275 B
TypeScript

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