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

10 lines
267 B
TypeScript

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