adjust toast messages

This commit is contained in:
proddy
2025-02-24 21:37:29 +01:00
parent 08b0ddbb7f
commit 3f8add73ac

View File

@@ -1,5 +1,5 @@
import { useEffect, useState } from 'react'; import { useEffect, useState } from 'react';
import { Slide, ToastContainer } from 'react-toastify'; import { ToastContainer, Zoom } from 'react-toastify';
import AppRouting from 'AppRouting'; import AppRouting from 'AppRouting';
import CustomTheme from 'CustomTheme'; import CustomTheme from 'CustomTheme';
@@ -43,17 +43,20 @@ const App = () => {
<AppRouting /> <AppRouting />
<ToastContainer <ToastContainer
position="bottom-left" position="bottom-left"
autoClose={2000} autoClose={3000}
hideProgressBar={false} hideProgressBar={false}
newestOnTop={false} newestOnTop={false}
closeOnClick={true} closeOnClick
rtl={false} rtl={false}
pauseOnFocusLoss={false} pauseOnFocusLoss
draggable={false} draggable={false}
pauseOnHover={false} pauseOnHover={false}
transition={Slide} transition={Zoom}
closeButton={false} closeButton={false}
theme="light" theme="dark"
toastStyle={{
border: '1px solid #177ac9'
}}
/> />
</CustomTheme> </CustomTheme>
</TypesafeI18n> </TypesafeI18n>