feat: add analytics +fix server cors

This commit is contained in:
SaraJane
2026-01-20 12:26:29 +00:00
parent e1ac2c0e04
commit f976733d45
4 changed files with 77 additions and 17 deletions

View File

@ -1,4 +1,5 @@
import { SupportedWallet, WalletId, WalletManager, WalletProvider } from '@txnlab/use-wallet-react'
import { Analytics } from '@vercel/analytics/next'
import { SnackbarProvider } from 'notistack'
import { useMemo } from 'react'
import { BrowserRouter, Route, Routes } from 'react-router-dom'
@ -79,6 +80,7 @@ export default function App() {
<SnackbarProvider maxSnack={3}>
<WalletProvider manager={walletManager}>
<BrowserRouter>
<Analytics />
<Routes>
<Route element={<Layout />}>
<Route path="/" element={<Home />} />