Skip to content

Commit 7d07d36

Browse files
Changes
Co-authored-by: Alien69Flow <111972684+Alien69Flow@users.noreply.github.com>
1 parent 76371e2 commit 7d07d36

2 files changed

Lines changed: 7 additions & 13 deletions

File tree

src/App.tsx

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,11 @@ import CoNetWorKing from './pages/CoNetWorKing';
1010
import Contact from './pages/Contact';
1111
import PrivacyPolicy from './pages/PrivacyPolicy';
1212
import NotFound from './pages/NotFound';
13-
import './index.css'; // Solo se importa el archivo final
13+
import './index.css';
1414

1515
function App() {
1616
return (
17-
<AppKitProvider
18-
projectId="ced40e4d52234c471808977208586c7e"
19-
networks={[mainnet, arbitrum, polygon]}
20-
metadata={{
21-
name: 'Alien World',
22-
description: 'Alien World dApp',
23-
url: window.location.origin,
24-
icons: [`${window.location.origin}/lovable-uploads/ALogo.png`]
25-
}}
26-
>
17+
<Web3Provider>
2718
<Router>
2819
<Routes>
2920
<Route path="/" element={<Layout />}>
@@ -39,7 +30,7 @@ function App() {
3930
</Route>
4031
</Routes>
4132
</Router>
42-
</AppKitProvider>
33+
</Web3Provider>
4334
);
4435
}
4536

src/config/appkit.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ export const networks: [AppKitNetwork, ...AppKitNetwork[]] = [
2626
];
2727

2828
export const wagmiAdapter = new WagmiAdapter({
29-
networks: [polygon, mainnet, arbitrum, base, bsc],
29+
networks: [polygon, mainnet, arbitrum, base, bsc] as [AppKitNetwork, ...AppKitNetwork[]],
30+
projectId,
31+
ssr: false,
32+
});
3033
projectId,
3134
ssr: false,
3235
});

0 commit comments

Comments
 (0)