bug fixes

This commit is contained in:
undefined committed 2025-03-28 09:41:45 +08:00
1 parent 56311e1209
commit ec23e81f8e
18 files changed
+90 -72

No files matched your search

+4 -3
View File
@@ -1,5 +1,5 @@
import React from 'react';
import { ToastContainer } from 'react-toastify';
import { Slide, ToastContainer } from 'react-toastify';
interface C {
i18n: (key: string, ...args: any[]) => string;
@@ -19,14 +19,15 @@ export default function ComponentsProvider(props: { children: React.ReactNode }
<ToastContainer
position="bottom-left"
autoClose={5000}
hideProgressBar={false}
hideProgressBar
newestOnTop={false}
closeOnClick={false}
rtl={false}
pauseOnFocusLoss
draggable
pauseOnHover
theme={props.theme}
theme="colored"
transition={Slide}
/>
{props.children}
</ComponentsContext.Provider>;