remove bold font and replace notistack to save flash

This commit is contained in:
proddy
2023-03-11 09:22:55 +01:00
parent 8cbae88dc3
commit cc5a28ca14
10 changed files with 75 additions and 80 deletions

View File

@@ -1,7 +1,7 @@
import { FC, useEffect, useState } from 'react';
import { ToastContainer } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.minimal.css';
import { ToastContainer, Slide } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.min.css';
import CustomTheme from 'CustomTheme';
import AppRouting from 'AppRouting';
@@ -31,12 +31,13 @@ const App: FC = () => {
autoClose={2000}
hideProgressBar={false}
newestOnTop={false}
closeOnClick
closeOnClick={false}
rtl={false}
pauseOnFocusLoss
pauseOnFocusLoss={false}
draggable={false}
pauseOnHover
theme="dark"
pauseOnHover={false}
transition={Slide}
theme="light"
/>
</CustomTheme>
</TypesafeI18n>