From 3fcb9dc25fd702e54978f3dab3be3beb6e485bbb Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Thu, 30 Aug 2018 14:20:42 +0200 Subject: [PATCH] Switched all other button to children not text --- src/components/modal/ForgetDevice/index.js | 4 ++-- src/views/Landing/components/BrowserNotSupported/index.js | 8 ++------ src/views/Landing/components/ConnectDevice/index.js | 4 ++-- src/views/Landing/components/InstallBridge/index.js | 4 ++-- .../LeftNavigation/components/DeviceMenu/index.js | 4 ++-- src/views/Wallet/views/DeviceSettings/index.js | 2 +- src/views/Wallet/views/Initialize/index.js | 2 +- 7 files changed, 12 insertions(+), 16 deletions(-) diff --git a/src/components/modal/ForgetDevice/index.js b/src/components/modal/ForgetDevice/index.js index d0b09cd0..75ab4a70 100644 --- a/src/components/modal/ForgetDevice/index.js +++ b/src/components/modal/ForgetDevice/index.js @@ -55,8 +55,8 @@ class ForgetDevice extends Component {

Forget { device.instanceLabel }?

Forgetting only removes the device from the list on the left, your coins are still safe and you can access them by reconnecting your TREZOR again. - this.forget()} text="Forget" /> - + this.forget()}>Forget + Don't forget ); diff --git a/src/views/Landing/components/BrowserNotSupported/index.js b/src/views/Landing/components/BrowserNotSupported/index.js index 867fb365..34b5920e 100644 --- a/src/views/Landing/components/BrowserNotSupported/index.js +++ b/src/views/Landing/components/BrowserNotSupported/index.js @@ -44,9 +44,7 @@ const BrowserNotSupported = () => ( target="_blank" rel="noreferrer noopener" > - @@ -57,9 +55,7 @@ const BrowserNotSupported = () => ( target="_blank" rel="noreferrer noopener" > - diff --git a/src/views/Landing/components/ConnectDevice/index.js b/src/views/Landing/components/ConnectDevice/index.js index 40ac60f3..f7600bee 100644 --- a/src/views/Landing/components/ConnectDevice/index.js +++ b/src/views/Landing/components/ConnectDevice/index.js @@ -91,9 +91,9 @@ class ConnectDevice extends Component {

and

)} diff --git a/src/views/Landing/components/InstallBridge/index.js b/src/views/Landing/components/InstallBridge/index.js index ccb5808f..e2dc186d 100644 --- a/src/views/Landing/components/InstallBridge/index.js +++ b/src/views/Landing/components/InstallBridge/index.js @@ -126,8 +126,8 @@ export default class InstallBridge extends Component { color: colors.WHITE, size: 30, }} - text={`Download for ${label}`} - /> + >Download for {label} +

diff --git a/src/views/Wallet/components/LeftNavigation/components/DeviceMenu/index.js b/src/views/Wallet/components/LeftNavigation/components/DeviceMenu/index.js index 839ba306..cf8f15a5 100644 --- a/src/views/Wallet/components/LeftNavigation/components/DeviceMenu/index.js +++ b/src/views/Wallet/components/LeftNavigation/components/DeviceMenu/index.js @@ -109,9 +109,9 @@ class DeviceMenu extends Component { {isWebUSB(transport) && ( )} diff --git a/src/views/Wallet/views/DeviceSettings/index.js b/src/views/Wallet/views/DeviceSettings/index.js index ec84012f..c1cb2a05 100644 --- a/src/views/Wallet/views/DeviceSettings/index.js +++ b/src/views/Wallet/views/DeviceSettings/index.js @@ -40,7 +40,7 @@ const DeviceSettings = () => ( Device settings is under construction

Please use Bitcoin wallet interface to change your device settings

- diff --git a/src/views/Wallet/views/Initialize/index.js b/src/views/Wallet/views/Initialize/index.js index a957c110..a9ee478d 100644 --- a/src/views/Wallet/views/Initialize/index.js +++ b/src/views/Wallet/views/Initialize/index.js @@ -33,7 +33,7 @@ const Initialize = () => (

Your device is in not initialized

Please use Bitcoin wallet interface to start initialization process -