mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 07:10:33 +00:00
10 lines
267 B
TypeScript
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);
|