diff --git a/src/actions/account.test.js b/src/actions/account.test.js index 562e14fab..6e0845187 100644 --- a/src/actions/account.test.js +++ b/src/actions/account.test.js @@ -8,6 +8,7 @@ import { errorAlertDialogDisplayed } from './dialog'; import * as accountApi from '../utils/api/account'; import * as delegateApi from '../utils/api/delegate'; import Fees from '../constants/fees'; +import { toRawLsk } from '../utils/lsk'; describe('actions: account', () => { describe('accountUpdated', () => { @@ -188,8 +189,9 @@ describe('actions: account', () => { senderPublicKey: 'test_public-key', senderId: 'test_address', recipientId: data.recipientId, - amount: data.amount, + amount: toRawLsk(data.amount), fee: Fees.send, + type: 0, }; actionFunction(dispatch); diff --git a/src/components/tabs/tabs.js b/src/components/tabs/tabs.js index 2169c06f2..61b3a8c3d 100644 --- a/src/components/tabs/tabs.js +++ b/src/components/tabs/tabs.js @@ -28,7 +28,11 @@ const Tabs = props => ( onChange={navigate.bind(this, props.history)} className={`${styles.tabs} main-tabs`}> {getTabs(props.isDelegate).map((tab, index) => - )} + )} );