added backup and email client
This commit is contained in:
@@ -2,6 +2,7 @@ import React from 'react';
|
||||
import ReactDOM from 'react-dom/client';
|
||||
import { BrowserRouter } from 'react-router-dom';
|
||||
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
||||
import { Toaster } from 'react-hot-toast';
|
||||
import { AuthProvider } from './context/AuthContext';
|
||||
import { AppSettingsProvider } from './context/AppSettingsContext';
|
||||
import App from './App';
|
||||
@@ -25,6 +26,28 @@ ReactDOM.createRoot(document.getElementById('root')!).render(
|
||||
<AppSettingsProvider>
|
||||
<AuthProvider>
|
||||
<App />
|
||||
<Toaster
|
||||
position="top-right"
|
||||
toastOptions={{
|
||||
duration: 4000,
|
||||
style: {
|
||||
background: '#363636',
|
||||
color: '#fff',
|
||||
},
|
||||
success: {
|
||||
iconTheme: {
|
||||
primary: '#10b981',
|
||||
secondary: '#fff',
|
||||
},
|
||||
},
|
||||
error: {
|
||||
iconTheme: {
|
||||
primary: '#ef4444',
|
||||
secondary: '#fff',
|
||||
},
|
||||
},
|
||||
}}
|
||||
/>
|
||||
</AuthProvider>
|
||||
</AppSettingsProvider>
|
||||
</BrowserRouter>
|
||||
|
||||
Reference in New Issue
Block a user