Add QR signer modal to root so its always available (#1509)
This commit is contained in:
parent
2bb706d4a1
commit
b4c4b05df6
|
@ -13,6 +13,7 @@ import CheckTransaction from 'containers/Tabs/CheckTransaction';
|
|||
import ErrorScreen from 'components/ErrorScreen';
|
||||
import PageNotFound from 'components/PageNotFound';
|
||||
import LogOutPrompt from 'components/LogOutPrompt';
|
||||
import QrSignerModal from 'containers/QrSignerModal';
|
||||
import { TitleBar } from 'components/ui';
|
||||
import { Store } from 'redux';
|
||||
import { pollOfflineStatus, TPollOfflineStatus } from 'actions/config';
|
||||
|
@ -102,6 +103,7 @@ class RootClass extends Component<Props, State> {
|
|||
{routes}
|
||||
<LegacyRoutes />
|
||||
<LogOutPrompt />
|
||||
<QrSignerModal />
|
||||
</React.Fragment>
|
||||
</Router>
|
||||
</Provider>
|
||||
|
|
|
@ -2,7 +2,6 @@ import React from 'react';
|
|||
import { connect } from 'react-redux';
|
||||
import translate from 'translations';
|
||||
import TabSection from 'containers/TabSection';
|
||||
import QrSignerModal from 'containers/QrSignerModal';
|
||||
import { UnlockHeader } from 'components/ui';
|
||||
import { getWalletInst } from 'selectors/wallet';
|
||||
import { AppState } from 'reducers';
|
||||
|
@ -109,7 +108,6 @@ class SendTransaction extends React.Component<Props> {
|
|||
</div>
|
||||
)}
|
||||
</section>
|
||||
<QrSignerModal />
|
||||
</TabSection>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue