aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-05-14 20:19:09 +0800
committerDan <danjm.com@gmail.com>2018-05-14 20:19:09 +0800
commit0076b732bd7c7d22b947f8d437c91944dac78219 (patch)
tree745e00038d03c2e3668e944f5b3dd281a6fa1496 /ui
parentb3f08681fd943947526a294759896d093cdbd135 (diff)
downloadtangerine-wallet-browser-0076b732bd7c7d22b947f8d437c91944dac78219.tar
tangerine-wallet-browser-0076b732bd7c7d22b947f8d437c91944dac78219.tar.gz
tangerine-wallet-browser-0076b732bd7c7d22b947f8d437c91944dac78219.tar.bz2
tangerine-wallet-browser-0076b732bd7c7d22b947f8d437c91944dac78219.tar.lz
tangerine-wallet-browser-0076b732bd7c7d22b947f8d437c91944dac78219.tar.xz
tangerine-wallet-browser-0076b732bd7c7d22b947f8d437c91944dac78219.tar.zst
tangerine-wallet-browser-0076b732bd7c7d22b947f8d437c91944dac78219.zip
Rename ducks/send.js to ducks/send.duck.js
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/customize-gas-modal/index.js2
-rw-r--r--ui/app/components/pending-tx/confirm-send-ether.js2
-rw-r--r--ui/app/components/pending-tx/confirm-send-token.js2
-rw-r--r--ui/app/components/send_/send-content/send-amount-row/amount-max-button/amount-max-button.container.js2
-rw-r--r--ui/app/components/send_/send-content/send-amount-row/amount-max-button/tests/amount-max-button-container.test.js2
-rw-r--r--ui/app/components/send_/send-content/send-amount-row/send-amount-row.container.js2
-rw-r--r--ui/app/components/send_/send-content/send-amount-row/tests/send-amount-row-container.test.js2
-rw-r--r--ui/app/components/send_/send-content/send-from-row/send-from-row.container.js2
-rw-r--r--ui/app/components/send_/send-content/send-from-row/tests/send-from-row-container.test.js2
-rw-r--r--ui/app/components/send_/send-content/send-to-row/send-to-row.container.js2
-rw-r--r--ui/app/components/send_/send-content/send-to-row/tests/send-to-row-container.test.js2
-rw-r--r--ui/app/components/send_/send.container.js2
-rw-r--r--ui/app/components/send_/tests/send-container.test.js2
-rw-r--r--ui/app/ducks/send.duck.js (renamed from ui/app/ducks/send.js)0
-rw-r--r--ui/app/reducers.js2
15 files changed, 14 insertions, 14 deletions
diff --git a/ui/app/components/customize-gas-modal/index.js b/ui/app/components/customize-gas-modal/index.js
index 1da3f7f61..845e4ddc2 100644
--- a/ui/app/components/customize-gas-modal/index.js
+++ b/ui/app/components/customize-gas-modal/index.js
@@ -10,7 +10,7 @@ const ethUtil = require('ethereumjs-util')
import {
updateSendErrors,
-} from '../../ducks/send'
+} from '../../ducks/send.duck'
const {
MIN_GAS_PRICE_DEC,
diff --git a/ui/app/components/pending-tx/confirm-send-ether.js b/ui/app/components/pending-tx/confirm-send-ether.js
index a450f9081..624366112 100644
--- a/ui/app/components/pending-tx/confirm-send-ether.js
+++ b/ui/app/components/pending-tx/confirm-send-ether.js
@@ -31,7 +31,7 @@ const { SEND_ROUTE, DEFAULT_ROUTE } = require('../../routes')
import {
updateSendErrors,
-} from '../../ducks/send'
+} from '../../ducks/send.duck'
ConfirmSendEther.contextTypes = {
t: PropTypes.func,
diff --git a/ui/app/components/pending-tx/confirm-send-token.js b/ui/app/components/pending-tx/confirm-send-token.js
index 135cb2275..5b5149058 100644
--- a/ui/app/components/pending-tx/confirm-send-token.js
+++ b/ui/app/components/pending-tx/confirm-send-token.js
@@ -41,7 +41,7 @@ const { SEND_ROUTE, DEFAULT_ROUTE } = require('../../routes')
import {
updateSendErrors,
-} from '../../ducks/send'
+} from '../../ducks/send.duck'
ConfirmSendToken.contextTypes = {
t: PropTypes.func,
diff --git a/ui/app/components/send_/send-content/send-amount-row/amount-max-button/amount-max-button.container.js b/ui/app/components/send_/send-content/send-amount-row/amount-max-button/amount-max-button.container.js
index a72f41775..2d2ec42f7 100644
--- a/ui/app/components/send_/send-content/send-amount-row/amount-max-button/amount-max-button.container.js
+++ b/ui/app/components/send_/send-content/send-amount-row/amount-max-button/amount-max-button.container.js
@@ -14,7 +14,7 @@ import {
import AmountMaxButton from './amount-max-button.component'
import {
updateSendErrors,
-} from '../../../../../ducks/send'
+} from '../../../../../ducks/send.duck'
export default connect(mapStateToProps, mapDispatchToProps)(AmountMaxButton)
diff --git a/ui/app/components/send_/send-content/send-amount-row/amount-max-button/tests/amount-max-button-container.test.js b/ui/app/components/send_/send-content/send-amount-row/amount-max-button/tests/amount-max-button-container.test.js
index 1aa0ad8fb..2cc00d6d6 100644
--- a/ui/app/components/send_/send-content/send-amount-row/amount-max-button/tests/amount-max-button-container.test.js
+++ b/ui/app/components/send_/send-content/send-amount-row/amount-max-button/tests/amount-max-button-container.test.js
@@ -30,7 +30,7 @@ proxyquire('../amount-max-button.container.js', {
'./amount-max-button.selectors.js': { getMaxModeOn: (s) => `mockMaxModeOn:${s}` },
'./amount-max-button.utils.js': { calcMaxAmount: (mockObj) => mockObj.val + 1 },
'../../../../../actions': actionSpies,
- '../../../../../ducks/send': duckActionSpies,
+ '../../../../../ducks/send.duck': duckActionSpies,
})
describe('amount-max-button container', () => {
diff --git a/ui/app/components/send_/send-content/send-amount-row/send-amount-row.container.js b/ui/app/components/send_/send-content/send-amount-row/send-amount-row.container.js
index 13888ec53..bbbf56971 100644
--- a/ui/app/components/send_/send-content/send-amount-row/send-amount-row.container.js
+++ b/ui/app/components/send_/send-content/send-amount-row/send-amount-row.container.js
@@ -20,7 +20,7 @@ import {
} from '../../../../actions'
import {
updateSendErrors,
-} from '../../../../ducks/send'
+} from '../../../../ducks/send.duck'
import SendAmountRow from './send-amount-row.component'
export default connect(mapStateToProps, mapDispatchToProps)(SendAmountRow)
diff --git a/ui/app/components/send_/send-content/send-amount-row/tests/send-amount-row-container.test.js b/ui/app/components/send_/send-content/send-amount-row/tests/send-amount-row-container.test.js
index 0678ec38f..e4c913c69 100644
--- a/ui/app/components/send_/send-content/send-amount-row/tests/send-amount-row-container.test.js
+++ b/ui/app/components/send_/send-content/send-amount-row/tests/send-amount-row-container.test.js
@@ -35,7 +35,7 @@ proxyquire('../send-amount-row.container.js', {
'./send-amount-row.selectors': { sendAmountIsInError: (s) => `mockInError:${s}` },
'../../send.utils': { getAmountErrorObject: (mockDataObject) => ({ ...mockDataObject, mockChange: true }) },
'../../../../actions': actionSpies,
- '../../../../ducks/send': duckActionSpies,
+ '../../../../ducks/send.duck': duckActionSpies,
})
describe('send-amount-row container', () => {
diff --git a/ui/app/components/send_/send-content/send-from-row/send-from-row.container.js b/ui/app/components/send_/send-content/send-from-row/send-from-row.container.js
index 377aead0a..402b744e4 100644
--- a/ui/app/components/send_/send-content/send-from-row/send-from-row.container.js
+++ b/ui/app/components/send_/send-content/send-from-row/send-from-row.container.js
@@ -16,7 +16,7 @@ import {
import {
closeFromDropdown,
openFromDropdown,
-} from '../../../../ducks/send'
+} from '../../../../ducks/send.duck'
import SendFromRow from './send-from-row.component'
export default connect(mapStateToProps, mapDispatchToProps)(SendFromRow)
diff --git a/ui/app/components/send_/send-content/send-from-row/tests/send-from-row-container.test.js b/ui/app/components/send_/send-content/send-from-row/tests/send-from-row-container.test.js
index 70ab963ab..785b3d3ef 100644
--- a/ui/app/components/send_/send-content/send-from-row/tests/send-from-row-container.test.js
+++ b/ui/app/components/send_/send-content/send-from-row/tests/send-from-row-container.test.js
@@ -31,7 +31,7 @@ proxyquire('../send-from-row.container.js', {
'./send-from-row.selectors.js': { getFromDropdownOpen: (s) => `mockFromDropdownOpen:${s}` },
'../../send.utils.js': { calcTokenBalance: (a, b) => a + b },
'../../../../actions': actionSpies,
- '../../../../ducks/send': duckActionSpies,
+ '../../../../ducks/send.duck': duckActionSpies,
})
describe('send-from-row container', () => {
diff --git a/ui/app/components/send_/send-content/send-to-row/send-to-row.container.js b/ui/app/components/send_/send-content/send-to-row/send-to-row.container.js
index bffdda49c..a10da505a 100644
--- a/ui/app/components/send_/send-content/send-to-row/send-to-row.container.js
+++ b/ui/app/components/send_/send-content/send-to-row/send-to-row.container.js
@@ -16,7 +16,7 @@ import {
updateSendErrors,
openToDropdown,
closeToDropdown,
-} from '../../../../ducks/send'
+} from '../../../../ducks/send.duck'
import SendToRow from './send-to-row.component'
export default connect(mapStateToProps, mapDispatchToProps)(SendToRow)
diff --git a/ui/app/components/send_/send-content/send-to-row/tests/send-to-row-container.test.js b/ui/app/components/send_/send-content/send-to-row/tests/send-to-row-container.test.js
index 3415e7afa..433b242b2 100644
--- a/ui/app/components/send_/send-content/send-to-row/tests/send-to-row-container.test.js
+++ b/ui/app/components/send_/send-content/send-to-row/tests/send-to-row-container.test.js
@@ -33,7 +33,7 @@ proxyquire('../send-to-row.container.js', {
},
'./send-to-row.utils.js': { getToErrorObject: (t) => `mockError:${t}` },
'../../../../actions': actionSpies,
- '../../../../ducks/send': duckActionSpies,
+ '../../../../ducks/send.duck': duckActionSpies,
})
describe('send-to-row container', () => {
diff --git a/ui/app/components/send_/send.container.js b/ui/app/components/send_/send.container.js
index d966fd808..8efaf5aaf 100644
--- a/ui/app/components/send_/send.container.js
+++ b/ui/app/components/send_/send.container.js
@@ -26,7 +26,7 @@ import {
} from '../../actions'
import {
updateSendErrors,
-} from '../../ducks/send'
+} from '../../ducks/send.duck'
import {
calcGasTotal,
generateTokenTransferData,
diff --git a/ui/app/components/send_/tests/send-container.test.js b/ui/app/components/send_/tests/send-container.test.js
index edd5e38ab..7b6ca1f7b 100644
--- a/ui/app/components/send_/tests/send-container.test.js
+++ b/ui/app/components/send_/tests/send-container.test.js
@@ -42,7 +42,7 @@ proxyquire('../send.container.js', {
getTokenBalance: (s) => `mockTokenBalance:${s}`,
},
'../../actions': actionSpies,
- '../../ducks/send': duckActionSpies,
+ '../../ducks/send.duck': duckActionSpies,
'./send.utils.js': {
calcGasTotal: (gasLimit, gasPrice) => gasLimit + gasPrice,
generateTokenTransferData: (a, b) => `mockData:${a + b}`,
diff --git a/ui/app/ducks/send.js b/ui/app/ducks/send.duck.js
index aef493ea0..aef493ea0 100644
--- a/ui/app/ducks/send.js
+++ b/ui/app/ducks/send.duck.js
diff --git a/ui/app/reducers.js b/ui/app/reducers.js
index 26bf66c3c..d0d364da9 100644
--- a/ui/app/reducers.js
+++ b/ui/app/reducers.js
@@ -8,7 +8,7 @@ const reduceIdentities = require('./reducers/identities')
const reduceMetamask = require('./reducers/metamask')
const reduceApp = require('./reducers/app')
const reduceLocale = require('./reducers/locale')
-const reduceSend = require('./ducks/send').default
+const reduceSend = require('./ducks/send.duck').default
window.METAMASK_CACHED_LOG_STATE = null