mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
chrone: sperate client and server to different repos.
This commit is contained in:
30
src/containers/Preferences/Currencies/CurrenciesList.js
Normal file
30
src/containers/Preferences/Currencies/CurrenciesList.js
Normal file
@@ -0,0 +1,30 @@
|
||||
import React, { useEffect } from 'react';
|
||||
|
||||
import { FormattedMessage as T } from 'components';
|
||||
import intl from 'react-intl-universal';
|
||||
|
||||
import { CurrenciesProvider } from './CurrenciesProvider';
|
||||
import CurrenciesDataTable from './CurrenciesDataTable';
|
||||
import CurrenciesAlerts from './CurrenciesAlerts';
|
||||
|
||||
import withDashboardActions from 'containers/Dashboard/withDashboardActions';
|
||||
|
||||
import { compose } from 'utils';
|
||||
|
||||
function CurrenciesList({
|
||||
// #withDashboardActions
|
||||
changePreferencesPageTitle,
|
||||
}) {
|
||||
useEffect(() => {
|
||||
changePreferencesPageTitle(intl.get('currencies'));
|
||||
}, [changePreferencesPageTitle]);
|
||||
|
||||
return (
|
||||
<CurrenciesProvider>
|
||||
<CurrenciesDataTable />
|
||||
<CurrenciesAlerts />
|
||||
</CurrenciesProvider>
|
||||
);
|
||||
}
|
||||
|
||||
export default compose(withDashboardActions)(CurrenciesList);
|
||||
Reference in New Issue
Block a user