Lazy load the AdminRouter
This commit is contained in:
parent
1f850fac61
commit
1cdf9bc18f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue