fix: rename dashboard routes.

This commit is contained in:
elforjani3
2021-01-17 20:47:26 +02:00
parent c843a28d30
commit c7b81b1998
17 changed files with 69 additions and 77 deletions

View File

@@ -21,7 +21,7 @@ import withExchangeRatesActions from 'containers/ExchangeRates/withExchangeRates
import { compose } from 'utils';
function ExchangeRate({
function ExchangeRatesList({
// #withDashboardActions
changePageTitle,
@@ -51,7 +51,7 @@ function ExchangeRate({
useEffect(() => {
id
? changePageTitle(formatMessage({ id: 'exchange_rate_details' }))
: changePageTitle(formatMessage({ id: 'exchange_rate_list' }));
: changePageTitle(formatMessage({ id: 'exchange_rates_list' }));
}, [id, changePageTitle, formatMessage]);
const handelDeleteExchangeRate = useCallback(
@@ -201,4 +201,4 @@ export default compose(
withResourceActions,
withDashboardActions,
withDialogActions,
)(ExchangeRate);
)(ExchangeRatesList);