From 59e93c0c23231f2f9cc2a4a8d5fdc0e8c4a2b7f1 Mon Sep 17 00:00:00 2001 From: mehditorabiv Date: Fri, 30 Aug 2024 12:49:43 +0300 Subject: [PATCH] update main.ts --- src/App.tsx | 95 +++++++++++++++++++++++++--------------------------- src/main.tsx | 5 ++- 2 files changed, 49 insertions(+), 51 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index b98f632..6c8358d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -4,7 +4,7 @@ import '@rainbow-me/rainbowkit/styles.css'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; import { ThemeProvider } from '@mui/material/styles'; import CssBaseline from '@mui/material/CssBaseline'; -import { BrowserRouter, Route, Routes, Navigate } from 'react-router-dom'; +import { Route, Routes, Navigate } from 'react-router-dom'; import { WagmiProvider } from 'wagmi'; import { AuthenticationStatus, @@ -114,57 +114,52 @@ const App: React.FC = () => { globalThis.Buffer = Buffer; return ( - - - - - - - - - + + + + + + + + + + ) : ( + + ) + } + /> + + + + } + > + } /> + } /> - ) : ( - - ) - } + path="identifiers/:providers/attestation" + element={} /> - - - - } - > - } - /> - } /> - } - /> - } /> - - } /> - Not found} /> - - - - - - - - - + } /> + + } /> + Not found} /> + + + + + + + + ); }; diff --git a/src/main.tsx b/src/main.tsx index 6177530..4e9f77b 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,10 +1,13 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; import './index.css'; +import { BrowserRouter } from 'react-router-dom'; import App from './App'; ReactDOM.createRoot(document.getElementById('root')!).render( - + + + );