Skip to content

Commit

Permalink
Attempt to remove _app change
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrossy committed Sep 27, 2024
1 parent 5060f3e commit b064fa7
Showing 1 changed file with 21 additions and 24 deletions.
45 changes: 21 additions & 24 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import '@hyperlane-xyz/widgets/styles.css';

import { ErrorBoundary } from '../components/errors/ErrorBoundary';
import { AppLayout } from '../components/layout/AppLayout';
import { MAIN_FONT } from '../consts/app';
import { WarpContext } from '../context/WarpContext';
import { CosmosWalletContext } from '../features/wallet/context/CosmosWalletContext';
import { EvmWalletContext } from '../features/wallet/context/EvmWalletContext';
Expand All @@ -35,28 +34,26 @@ export default function App({ Component, pageProps }: AppProps) {
}

return (
<div className={`${MAIN_FONT.variable} font-sans text-black`}>
<ErrorBoundary>
<QueryClientProvider client={reactQueryClient}>
<WarpContext>
<EvmWalletContext>
<SolanaWalletContext>
<CosmosWalletContext>
<AppLayout>
<Component {...pageProps} />
<Analytics />
</AppLayout>
<ToastContainer
transition={Zoom}
position={toast.POSITION.BOTTOM_RIGHT}
limit={2}
/>
</CosmosWalletContext>
</SolanaWalletContext>
</EvmWalletContext>
</WarpContext>
</QueryClientProvider>
</ErrorBoundary>
</div>
<ErrorBoundary>
<QueryClientProvider client={reactQueryClient}>
<WarpContext>
<EvmWalletContext>
<SolanaWalletContext>
<CosmosWalletContext>
<AppLayout>
<Component {...pageProps} />
<Analytics />
</AppLayout>
<ToastContainer
transition={Zoom}
position={toast.POSITION.BOTTOM_RIGHT}
limit={2}
/>
</CosmosWalletContext>
</SolanaWalletContext>
</EvmWalletContext>
</WarpContext>
</QueryClientProvider>
</ErrorBoundary>
);
}

0 comments on commit b064fa7

Please sign in to comment.