mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
added toasts
This commit is contained in:
parent
ef959af711
commit
39e801f6f3
10 changed files with 92 additions and 7 deletions
|
@ -13,6 +13,8 @@ import { SWRConfigProvider } from '~/utils/providers/SWRConfigProvider';
|
|||
import { observer } from 'mobx-react';
|
||||
import { useGlobalLoader } from '~/hooks/dom/useGlobalLoader';
|
||||
import { SearchProvider } from '~/utils/providers/SearchProvider';
|
||||
import { Toaster } from 'react-hot-toast';
|
||||
import { ToastProvider } from '~/utils/providers/ToastProvider';
|
||||
|
||||
const App: VFC = observer(() => {
|
||||
useGlobalLoader();
|
||||
|
@ -25,6 +27,7 @@ const App: VFC = observer(() => {
|
|||
<PageCoverProvider>
|
||||
<SearchProvider>
|
||||
<MainLayout>
|
||||
<ToastProvider />
|
||||
<Modal />
|
||||
<Sprites />
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue