mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-03 13:18:53 -05:00
feat(frontend): refresh indicator for titlecards / toasts
This commit is contained in:
@@ -2,6 +2,7 @@ import React from 'react';
|
||||
import '../styles/globals.css';
|
||||
import App, { AppInitialProps } from 'next/app';
|
||||
import { SWRConfig } from 'swr';
|
||||
import { ToastProvider } from 'react-toast-notifications';
|
||||
import Layout from '../components/Layout';
|
||||
import { UserContext } from '../context/UserContext';
|
||||
import axios from 'axios';
|
||||
@@ -70,7 +71,9 @@ class CoreApp extends App<AppProps> {
|
||||
fetcher: (url) => axios.get(url).then((res) => res.data),
|
||||
}}
|
||||
>
|
||||
<UserContext initialUser={user}>{component}</UserContext>
|
||||
<ToastProvider>
|
||||
<UserContext initialUser={user}>{component}</UserContext>
|
||||
</ToastProvider>
|
||||
</SWRConfig>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user