@@ -23,10 +23,10 @@ import Overview from './routes/Overview';
23
23
import Stats from './routes/Stats' ;
24
24
import Worlds from './routes/Worlds' ;
25
25
import Players from './routes/Players' ;
26
+ import BanList from './routes/BanList' ;
26
27
import Traffic from './routes/Traffic' ;
27
28
import Console from './routes/Console' ;
28
29
import Settings from './routes/Settings' ;
29
- import InstallPWA from './hooks/pwa' ;
30
30
import Update from './routes/Update' ;
31
31
32
32
Sentry . init ( {
@@ -53,7 +53,6 @@ const SentryRoutes = Sentry.withSentryReactRouterV6Routing(Routes);
53
53
const App = ( ) => {
54
54
const location = useLocation ( ) ;
55
55
const background = location . state ?. background ;
56
- const install = InstallPWA ( ) ;
57
56
58
57
const [ themeState , setThemeState ] = useRecoilState ( _themeState ) ;
59
58
@@ -82,17 +81,18 @@ const App = () => {
82
81
< Route path = 'stats' element = { < Stats /> } />
83
82
< Route path = 'world' element = { < Worlds /> } />
84
83
< Route path = 'player' element = { < Players /> } />
84
+ < Route path = 'banlist' element = { < BanList /> } />
85
85
< Route path = 'traffic' element = { < Traffic /> } />
86
86
< Route path = 'console' element = { < Console /> } />
87
87
</ Route >
88
88
</ Route >
89
89
90
- < Route path = '/settings' element = { < Settings install = { install } /> } />
90
+ < Route path = '/settings' element = { < Settings /> } />
91
91
</ SentryRoutes >
92
92
93
93
{ background && (
94
94
< SentryRoutes >
95
- < Route path = '/settings' element = { < Settings install = { install } /> } />
95
+ < Route path = '/settings' element = { < Settings /> } />
96
96
</ SentryRoutes >
97
97
) }
98
98
0 commit comments