mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-13 19:16:52 +01:00
19 lines
490 B
TypeScript
19 lines
490 B
TypeScript
import React from 'react';
|
|
import DevMenu from '../components/DevMenu';
|
|
import MainRoot from './index';
|
|
import useCompanionListeners from '../hooks/useCompanionListeners';
|
|
|
|
const MasterView = () => {
|
|
// Initialize companion listeners only when wallets are initialized
|
|
// The hook checks walletsInitialized internally, so it won't run until ready
|
|
useCompanionListeners();
|
|
|
|
return (
|
|
<>
|
|
<MainRoot />
|
|
{__DEV__ && <DevMenu />}
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default MasterView;
|