mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-23 08:10:32 +00:00
chore: Refactoring all import directories to alias and all .js|.jsx renamed to be .ts|.tsx
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { connect } from 'react-redux';
|
||||
import { getCurrenciesList } from 'store/currencies/currencies.selector';
|
||||
import { getCurrenciesList } from '@/store/currencies/currencies.selector';
|
||||
|
||||
export default (mapState) => {
|
||||
const mapStateToProps = (state, props) => {
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
submitCurrencies,
|
||||
deleteCurrency,
|
||||
editCurrency,
|
||||
} from 'store/currencies/currencies.actions';
|
||||
} from '@/store/currencies/currencies.actions';
|
||||
|
||||
|
||||
export const mapDispatchToProps = (dispatch) => ({
|
||||
@@ -1,12 +1,8 @@
|
||||
import { connect } from 'react-redux';
|
||||
import {
|
||||
getCurrencyById,
|
||||
getCurrencyByCode,
|
||||
} from 'store/currencies/currencies.selector';
|
||||
import { getCurrencyByCode } from '@/store/currencies/currencies.selector';
|
||||
|
||||
const mapStateToProps = (state, props) => ({
|
||||
currency: getCurrencyByCode(state, props),
|
||||
});
|
||||
|
||||
export default connect(mapStateToProps);
|
||||
|
||||
Reference in New Issue
Block a user