fix: revealed splash screen informing about loading and error (803) (#1087)
This commit is contained in:
parent
f158dbddaa
commit
45ae06e4f2
@ -40,35 +40,37 @@ const AppContainer = () => {
|
|||||||
return (
|
return (
|
||||||
<Router>
|
<Router>
|
||||||
<AppStateProvider>
|
<AppStateProvider>
|
||||||
<AsyncRenderer loading={loading} data={config} error={error}>
|
<div className="grid min-h-full text-white-80">
|
||||||
{Connectors && (
|
<AsyncRenderer loading={loading} data={config} error={error}>
|
||||||
<Web3Provider connectors={Connectors}>
|
{Connectors && (
|
||||||
<Web3Connector>
|
<Web3Provider connectors={Connectors}>
|
||||||
<VegaWalletProvider>
|
<Web3Connector>
|
||||||
<ContractsProvider>
|
<VegaWalletProvider>
|
||||||
<AppLoader>
|
<ContractsProvider>
|
||||||
<BalanceManager>
|
<AppLoader>
|
||||||
<>
|
<BalanceManager>
|
||||||
<div className="app max-w-[1300px] mx-auto my-0 grid grid-rows-[min-content_1fr_min-content] min-h-full lg:border-l-1 lg:border-r-1 lg:border-white font-sans text-body lg:text-body-large text-white-80">
|
<>
|
||||||
<AppBanner />
|
<div className="app max-w-[1300px] mx-auto my-0 grid grid-rows-[min-content_1fr_min-content] min-h-full lg:border-l-1 lg:border-r-1 lg:border-white font-sans text-body lg:text-body-large">
|
||||||
<TemplateSidebar sidebar={sideBar}>
|
<AppBanner />
|
||||||
<AppRouter />
|
<TemplateSidebar sidebar={sideBar}>
|
||||||
</TemplateSidebar>
|
<AppRouter />
|
||||||
<footer className="grid grid-rows-2 grid-cols-[1fr_auto] md:flex md:col-span-2 p-16 gap-12 border-t-1">
|
</TemplateSidebar>
|
||||||
<NetworkInfo />
|
<footer className="grid grid-rows-2 grid-cols-[1fr_auto] md:flex md:col-span-2 p-16 gap-12 border-t-1">
|
||||||
</footer>
|
<NetworkInfo />
|
||||||
</div>
|
</footer>
|
||||||
<VegaWalletDialogs />
|
</div>
|
||||||
<TransactionModal />
|
<VegaWalletDialogs />
|
||||||
</>
|
<TransactionModal />
|
||||||
</BalanceManager>
|
</>
|
||||||
</AppLoader>
|
</BalanceManager>
|
||||||
</ContractsProvider>
|
</AppLoader>
|
||||||
</VegaWalletProvider>
|
</ContractsProvider>
|
||||||
</Web3Connector>
|
</VegaWalletProvider>
|
||||||
</Web3Provider>
|
</Web3Connector>
|
||||||
)}
|
</Web3Provider>
|
||||||
</AsyncRenderer>
|
)}
|
||||||
|
</AsyncRenderer>
|
||||||
|
</div>
|
||||||
</AppStateProvider>
|
</AppStateProvider>
|
||||||
</Router>
|
</Router>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user