forked from Alex/Pterodactyl-Panel
Lazy load the AdminRouter
This commit is contained in:
parent
1f850fac61
commit
1cdf9bc18f
@ -1,6 +1,6 @@
|
||||
// import React, { useEffect } from 'react';
|
||||
// import ReactGA from 'react-ga';
|
||||
import React from 'react';
|
||||
import React, { Suspense, lazy } from 'react';
|
||||
import { hot } from 'react-hot-loader/root';
|
||||
import { BrowserRouter, Route, Switch } from 'react-router-dom';
|
||||
import { StoreProvider } from 'easy-peasy';
|
||||
|
Loading…
Reference in New Issue
Block a user