diff options
Diffstat (limited to 'ui/app/pages/confirm-transaction-switch/confirm-transaction-switch.util.js')
-rw-r--r-- | ui/app/pages/confirm-transaction-switch/confirm-transaction-switch.util.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/app/pages/confirm-transaction-switch/confirm-transaction-switch.util.js b/ui/app/pages/confirm-transaction-switch/confirm-transaction-switch.util.js new file mode 100644 index 000000000..536aa5212 --- /dev/null +++ b/ui/app/pages/confirm-transaction-switch/confirm-transaction-switch.util.js @@ -0,0 +1,4 @@ +export function isConfirmDeployContract (txData = {}) { + const { txParams = {} } = txData + return !txParams.to +} |