diff --git a/src/components/App.js b/src/components/App.js
index d3dbd19a..a6b3d186 100644
--- a/src/components/App.js
+++ b/src/components/App.js
@@ -12,10 +12,8 @@ import theme from 'styles/theme'
import i18n from 'renderer/i18n/electron'
-import OnboardingOrElse from 'components/OnboardingOrElse'
import ThrowBlock from 'components/ThrowBlock'
import Default from 'components/layout/Default'
-import Print from 'components/layout/Print'
import CounterValues from 'helpers/countervalues'
import { BridgeSyncProvider } from 'bridge/BridgeSyncContext'
@@ -34,14 +32,11 @@ const App = ({
-
-
-
-
-
-
-
-
+
+
+
+
+
diff --git a/src/components/Onboarding/index.js b/src/components/Onboarding/index.js
index 7efec2ae..18a172be 100644
--- a/src/components/Onboarding/index.js
+++ b/src/components/Onboarding/index.js
@@ -25,9 +25,7 @@ import { getCurrentDevice } from 'reducers/devices'
import { unlock } from 'reducers/application'
-import ExportLogsBtn from 'components/ExportLogsBtn'
import Box from 'components/base/Box'
-import TriggerAppReady from '../TriggerAppReady'
import Start from './steps/Start'
import InitStep from './steps/Init'
@@ -160,9 +158,6 @@ class Onboarding extends PureComponent {
return (
-
-
-
{step.options.showBreadcrumb && }
diff --git a/src/components/layout/Default.js b/src/components/layout/Default.js
index e52522b5..4f8bab68 100644
--- a/src/components/layout/Default.js
+++ b/src/components/layout/Default.js
@@ -24,7 +24,7 @@ import LibcoreBusyIndicator from 'components/LibcoreBusyIndicator'
import DeviceBusyIndicator from 'components/DeviceBusyIndicator'
import TriggerAppReady from 'components/TriggerAppReady'
import ExportLogsBtn from 'components/ExportLogsBtn'
-
+import OnboardingOrElse from 'components/OnboardingOrElse'
import AppRegionDrag from 'components/AppRegionDrag'
import IsUnlocked from 'components/IsUnlocked'
import SideBar from 'components/MainSideBar'
@@ -82,36 +82,38 @@ class Default extends Component {
{process.platform === 'darwin' && }
-
- {Object.entries(modals).map(([name, ModalComponent]: [string, any]) => (
-
- ))}
-
-
-
-
-
-
-
-
-
-
- (this._scrollContainer = n)} tabIndex={-1}>
-
-
-
-
-
-
+
+
+ {Object.entries(modals).map(([name, ModalComponent]: [string, any]) => (
+
+ ))}
+
+
+
+
+
+
+
+
+
+
+ (this._scrollContainer = n)} tabIndex={-1}>
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
)
}
diff --git a/src/components/layout/Print.js b/src/components/layout/Print.js
deleted file mode 100644
index 6051d353..00000000
--- a/src/components/layout/Print.js
+++ /dev/null
@@ -1,47 +0,0 @@
-// @flow
-
-import React, { PureComponent } from 'react'
-import { remote } from 'electron'
-import qs from 'qs'
-
-import CurrentAddress from 'components/CurrentAddress'
-
-class Print extends PureComponent {
- componentDidMount() {
- window.requestAnimationFrame(() =>
- setTimeout(() => {
- if (!this._node) {
- return
- }
-
- const { height, width } = this._node.getBoundingClientRect()
- const currentWindow = remote.getCurrentWindow()
-
- currentWindow.setContentSize(width, height)
- currentWindow.emit('print-ready')
- }, 300),
- )
- }
-
- _node = null
-
- render() {
- const data = qs.parse(this.props.location.search, { ignoreQueryPrefix: true })
-
- if (!data) {
- return null
- }
- const { address, amount, accountName } = data
- return (
- (this._node = n)}
- withQRCode
- />
- )
- }
-}
-
-export default Print