fix: revealed splash screen informing about loading and error (803) (#1087)
This commit is contained in:
parent
f158dbddaa
commit
45ae06e4f2
@ -40,6 +40,7 @@ const AppContainer = () => {
|
||||
return (
|
||||
<Router>
|
||||
<AppStateProvider>
|
||||
<div className="grid min-h-full text-white-80">
|
||||
<AsyncRenderer loading={loading} data={config} error={error}>
|
||||
{Connectors && (
|
||||
<Web3Provider connectors={Connectors}>
|
||||
@ -49,7 +50,7 @@ const AppContainer = () => {
|
||||
<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">
|
||||
<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">
|
||||
<AppBanner />
|
||||
<TemplateSidebar sidebar={sideBar}>
|
||||
<AppRouter />
|
||||
@ -69,6 +70,7 @@ const AppContainer = () => {
|
||||
</Web3Provider>
|
||||
)}
|
||||
</AsyncRenderer>
|
||||
</div>
|
||||
</AppStateProvider>
|
||||
</Router>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user