params in url + error boundary

This commit is contained in:
Primakov Alexandr Alexandrovich
2024-10-24 20:04:54 +03:00
parent c28721b1f4
commit b631206c44
14 changed files with 337 additions and 13 deletions
+6 -3
View File
@@ -1,13 +1,16 @@
import React from 'react';
import { BrowserRouter, HashRouter } from 'react-router-dom';
import { ThemeProvider } from '@emotion/react'
import { Dashboard } from './dashboard';
const App = () => {
return (
<BrowserRouter>
<Dashboard />
</BrowserRouter>
<ThemeProvider theme={{ colors: { main: 'green' } }}>
<BrowserRouter>
<Dashboard />
</BrowserRouter>
</ThemeProvider>
);
};