diff --git a/src/v2/components/Applications/Detail/Details/index.jsx b/src/v2/components/Applications/Detail/Details/index.jsx index 33bc086c..a2a26268 100644 --- a/src/v2/components/Applications/Detail/Details/index.jsx +++ b/src/v2/components/Applications/Detail/Details/index.jsx @@ -1,7 +1,7 @@ //@flow import React from 'react'; import Label from 'v2/components/UI/Label'; -import {map} from 'lodash/fp'; +import {map} from 'lodash'; import {observer} from 'mobx-react-lite'; import {Table, TableBody, TableCell, TableRow} from '@material-ui/core'; import ValidatorName from 'v2/components/UI/ValidatorName'; @@ -27,7 +27,7 @@ const ApplicationDetails = ({programAccounts}: {programAccounts: Object}) => { return ( - {map(renderAccount)(programAccounts)} + {map(programAccounts, renderAccount)}
); }; diff --git a/src/v2/components/Transactions/Detail/Application/index.jsx b/src/v2/components/Transactions/Detail/Application/index.jsx index 47994fad..8ec2cca8 100644 --- a/src/v2/components/Transactions/Detail/Application/index.jsx +++ b/src/v2/components/Transactions/Detail/Application/index.jsx @@ -1,6 +1,6 @@ // @flow import React from 'react'; -import {map} from 'lodash/fp'; +import {map} from 'lodash'; import {Grid} from '@material-ui/core'; import {Link} from 'react-router-dom'; import Label from 'v2/components/UI/Label'; @@ -36,7 +36,7 @@ const Application = ({id, accounts}: TApplication) => { - {map(renderAccount)(accounts)} + {map(accounts, renderAccount)}