mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Turn off feature toggle.
This commit is contained in:
parent
60eda592b5
commit
6e73eacd5f
@ -351,20 +351,22 @@ App.prototype.renderPrimary = function () {
|
|||||||
case 'sendTransaction':
|
case 'sendTransaction':
|
||||||
log.debug('rendering send tx screen')
|
log.debug('rendering send tx screen')
|
||||||
|
|
||||||
const SendComponentToRender = checkFeatureToggle('send-v2')
|
// Going to leave this here until we are ready to delete SendTransactionScreen v1
|
||||||
? SendTransactionScreen2
|
// const SendComponentToRender = checkFeatureToggle('send-v2')
|
||||||
: SendTransactionScreen
|
// ? SendTransactionScreen2
|
||||||
|
// : SendTransactionScreen
|
||||||
|
|
||||||
return h(SendComponentToRender, {key: 'send-transaction'})
|
return h(SendTransactionScreen2, {key: 'send-transaction'})
|
||||||
|
|
||||||
case 'sendToken':
|
case 'sendToken':
|
||||||
log.debug('rendering send token screen')
|
log.debug('rendering send token screen')
|
||||||
|
|
||||||
const SendTokenComponentToRender = checkFeatureToggle('send-v2')
|
// Going to leave this here until we are ready to delete SendTransactionScreen v1
|
||||||
? SendTransactionScreen2
|
// const SendTokenComponentToRender = checkFeatureToggle('send-v2')
|
||||||
: SendTokenScreen
|
// ? SendTransactionScreen2
|
||||||
|
// : SendTokenScreen
|
||||||
|
|
||||||
return h(SendTokenComponentToRender, {key: 'sendToken'})
|
return h(SendTransactionScreen2, {key: 'sendToken'})
|
||||||
|
|
||||||
case 'newKeychain':
|
case 'newKeychain':
|
||||||
log.debug('rendering new keychain screen')
|
log.debug('rendering new keychain screen')
|
||||||
|
Loading…
Reference in New Issue
Block a user